1 | C:/Program Files/OpenModelica1.14.1-64bit//share/omc/scripts/Compile.bat LBendtest1 gcc mingw64 parallel 8 0
|
---|
2 | PATH = "C:\PROGRA~1\OPENMO~1.1-6\tools\msys\mingw64\bin;C:\PROGRA~1\OPENMO~1.1-6\tools\msys\mingw64\bin\..\..\usr\bin;"
|
---|
3 | mingw32-make: Entering directory 'C:/Users/Lenovo/AppData/Local/Temp/OPENMO~1/OMEdit/LBENDT~1'
|
---|
4 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1.o LBendtest1.c
|
---|
5 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_functions.o LBendtest1_functions.c
|
---|
6 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_records.o LBendtest1_records.c
|
---|
7 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_01exo.o LBendtest1_01exo.c
|
---|
8 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_02nls.o LBendtest1_02nls.c
|
---|
9 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_03lsy.o LBendtest1_03lsy.c
|
---|
10 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_04set.o LBendtest1_04set.c
|
---|
11 | gcc -Os -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse -I"C:/Program Files/OpenModelica1.14.1-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=LBendtest1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o LBendtest1_05evt.o LBendtest1_05evt.c
|
---|
12 | LBendtest1_02nls.c: In function 'residualFunc397':
|
---|
13 | LBendtest1_02nls.c:462:98: error: incompatible type for argument 2 of 'omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW'
|
---|
14 | res[3] = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[22] /* curvedBend1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[21] /* curvedBend1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[23] /* curvedBend1.geometry.delta PARAM */, data->simulationInfo->realParameter[20] /* curvedBend1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[215] /* curvedBend1.dp variable */, data->localData[0]->realVars[216] /* curvedBend1.eta_a variable */, data->localData[0]->realVars[217] /* curvedBend1.eta_b variable */, data->simulationInfo->realParameter[18] /* curvedBend1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[215] /* curvedBend1.dp variable */, data->localData[0]->realVars[213] /* curvedBend1.d_a variable */, data->localData[0]->realVars[214] /* curvedBend1.d_b variable */, data->simulationInfo->realParameter[18] /* curvedBend1.dp_small PARAM */)), data->localData[0]->realVars[215] /* curvedBend1.dp variable */) - data->simulationInfo->realParameter[4] /* boundary.m_flow PARAM */;
|
---|
15 | ^
|
---|
16 | In file included from LBendtest1_model.h:24:0,
|
---|
17 | from LBendtest1_02nls.c:2:
|
---|
18 | LBendtest1_functions.h:1066:15: note: expected 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con {aka struct <anonymous>}' but argument is of type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry {aka struct <anonymous>}'
|
---|
19 | modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp);
|
---|
20 | ^
|
---|
21 | LBendtest1_02nls.c: In function 'residualFunc310':
|
---|
22 | LBendtest1_02nls.c:657:98: error: incompatible type for argument 2 of 'omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW'
|
---|
23 | res[0] = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[22] /* curvedBend1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[21] /* curvedBend1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[23] /* curvedBend1.geometry.delta PARAM */, data->simulationInfo->realParameter[20] /* curvedBend1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[215] /* curvedBend1.dp variable */, data->localData[0]->realVars[216] /* curvedBend1.eta_a variable */, data->localData[0]->realVars[217] /* curvedBend1.eta_b variable */, data->simulationInfo->realParameter[18] /* curvedBend1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[215] /* curvedBend1.dp variable */, data->localData[0]->realVars[213] /* curvedBend1.d_a variable */, data->localData[0]->realVars[214] /* curvedBend1.d_b variable */, data->simulationInfo->realParameter[18] /* curvedBend1.dp_small PARAM */)), data->localData[0]->realVars[215] /* curvedBend1.dp variable */) - data->simulationInfo->realParameter[4] /* boundary.m_flow PARAM */;
|
---|
24 | ^
|
---|
25 | In file included from LBendtest1_model.h:24:0,
|
---|
26 | from LBendtest1_02nls.c:2:
|
---|
27 | LBendtest1_functions.h:1066:15: note: expected 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con {aka struct <anonymous>}' but argument is of type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry {aka struct <anonymous>}'
|
---|
28 | modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp);
|
---|
29 | ^
|
---|
30 | LBendtest1_02nls.c: In function 'residualFunc55':
|
---|
31 | LBendtest1_02nls.c:1047:98: error: incompatible type for argument 2 of 'omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW'
|
---|
32 | res[0] = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[22] /* curvedBend1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[21] /* curvedBend1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[23] /* curvedBend1.geometry.delta PARAM */, data->simulationInfo->realParameter[20] /* curvedBend1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[215] /* curvedBend1.dp variable */, data->localData[0]->realVars[216] /* curvedBend1.eta_a variable */, data->localData[0]->realVars[217] /* curvedBend1.eta_b variable */, data->simulationInfo->realParameter[18] /* curvedBend1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[215] /* curvedBend1.dp variable */, data->localData[0]->realVars[213] /* curvedBend1.d_a variable */, data->localData[0]->realVars[214] /* curvedBend1.d_b variable */, data->simulationInfo->realParameter[18] /* curvedBend1.dp_small PARAM */)), data->localData[0]->realVars[215] /* curvedBend1.dp variable */) - data->simulationInfo->realParameter[4] /* boundary.m_flow PARAM */;
|
---|
33 | ^
|
---|
34 | In file included from LBendtest1_model.h:24:0,
|
---|
35 | from LBendtest1_02nls.c:2:
|
---|
36 | LBendtest1_functions.h:1066:15: note: expected 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con {aka struct <anonymous>}' but argument is of type 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry {aka struct <anonymous>}'
|
---|
37 | modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp);
|
---|
38 | ^
|
---|
39 | <builtin>: recipe for target 'LBendtest1_02nls.o' failed
|
---|
40 | mingw32-make: *** [LBendtest1_02nls.o] Error 1
|
---|
41 | mingw32-make: *** Waiting for unfinished jobs....
|
---|
42 | mingw32-make: Leaving directory 'C:/Users/Lenovo/AppData/Local/Temp/OPENMO~1/OMEdit/LBENDT~1'
|
---|
43 | Compilation process failed. Exited with code 2.
|
---|