Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 236 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.72 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2533/0.2533, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.482e-05/5.494e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.156, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.615/1.771, allocations: 0.5013 GB / 1.003 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.772, allocations: 83.58 kB / 1.003 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.085/2.857, allocations: 331.2 MB / 1.327 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.343e-06/2.857, allocations: 192 / 1.327 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.584e-05/2.857, allocations: 31.92 kB / 1.327 GB, free: 5.105 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003832/2.861, allocations: 1.468 MB / 1.328 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/2.861, allocations: 8.031 kB / 1.328 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/2.861, allocations: 114.5 kB / 1.328 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/2.862, allocations: 198.6 kB / 1.328 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/2.864, allocations: 0.8121 MB / 1.329 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/2.864, allocations: 53.23 kB / 1.329 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/2.864, allocations: 63.98 kB / 1.329 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/2.865, allocations: 1.136 MB / 1.33 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/2.865, allocations: 4 kB / 1.33 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/2.865, allocations: 31.97 kB / 1.33 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.714e-05/2.866, allocations: 81.25 kB / 1.331 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4063/3.272, allocations: 1.106 MB / 1.332 GB, free: 74.93 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009261/3.281, allocations: 4.354 MB / 1.336 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/3.283, allocations: 0.7521 MB / 1.337 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007092/3.284, allocations: 349.5 kB / 1.337 GB, free: 73.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/3.284, allocations: 354.8 kB / 1.337 GB, free: 72.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/3.284, allocations: 45.92 kB / 1.337 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008907/3.285, allocations: 125.6 kB / 1.337 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=61): time 4.659e-06/3.285, allocations: 3.312 kB / 1.337 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.00294/3.288, allocations: 1.082 MB / 1.338 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/3.288, allocations: 214.2 kB / 1.339 GB, free: 72.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/3.289, allocations: 0.7729 MB / 1.339 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/3.289, allocations: 40.34 kB / 1.339 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/3.29, allocations: 438.5 kB / 1.34 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/3.29, allocations: 217.2 kB / 1.34 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/3.29, allocations: 18.03 kB / 1.34 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/3.29, allocations: 341.5 kB / 1.34 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/3.291, allocations: 356.6 kB / 1.341 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/3.291, allocations: 0.547 MB / 1.341 GB, free: 71.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007299/3.292, allocations: 450.7 kB / 1.342 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/3.292, allocations: 0 / 1.342 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002256/3.294, allocations: 1.232 MB / 1.343 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000374/3.295, allocations: 1.748 MB / 1.345 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/3.295, allocations: 9 kB / 1.345 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004878/3.3, allocations: 0.814 MB / 1.345 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/3.3, allocations: 158.9 kB / 1.346 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/3.302, allocations: 1.191 MB / 1.347 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/3.303, allocations: 63.66 kB / 1.347 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/3.303, allocations: 68.8 kB / 1.347 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/3.303, allocations: 2.781 kB / 1.347 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002321/3.306, allocations: 1.03 MB / 1.348 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/3.306, allocations: 5.938 kB / 1.348 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/3.306, allocations: 163.2 kB / 1.348 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/3.307, allocations: 199.7 kB / 1.348 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/3.31, allocations: 2.145 MB / 1.35 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/3.311, allocations: 61.5 kB / 1.35 GB, free: 67.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/3.311, allocations: 69.45 kB / 1.351 GB, free: 67.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.000382/3.311, allocations: 152.9 kB / 1.351 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/3.312, allocations: 100.5 kB / 1.351 GB, free: 67.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/3.316, allocations: 1.823 MB / 1.353 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/3.316, allocations: 6.875 kB / 1.353 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/3.316, allocations: 6.625 kB / 1.353 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/3.316, allocations: 4.516 kB / 1.353 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004593/3.32, allocations: 2.284 MB / 1.355 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/3.32, allocations: 3.312 kB / 1.355 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/3.321, allocations: 90.59 kB / 1.355 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/3.325, allocations: 0.6643 MB / 1.356 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/3.325, allocations: 31.98 kB / 1.356 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/3.326, allocations: 1.176 MB / 1.357 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/3.326, allocations: 5.219 kB / 1.357 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/3.329, allocations: 1.251 MB / 1.358 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/3.33, allocations: 184.1 kB / 1.358 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/3.33, allocations: 16.5 kB / 1.358 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/3.331, allocations: 54.03 kB / 1.358 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/3.331, allocations: 57.34 kB / 1.358 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/3.331, allocations: 54.73 kB / 1.358 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001535/3.333, allocations: 0.609 MB / 1.359 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/3.333, allocations: 1.594 kB / 1.359 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005233/3.338, allocations: 1.126 MB / 1.36 GB, free: 65.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.008154/3.346, allocations: 4.086 MB / 1.364 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003414/3.35, allocations: 1.509 MB / 1.365 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/3.35, allocations: 4.688 kB / 1.365 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007508/3.351, allocations: 407.3 kB / 1.366 GB, free: 63.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/3.354, allocations: 0.5544 MB / 1.366 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/3.359, allocations: 1.764 MB / 1.368 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/3.36, allocations: 1.077 MB / 1.369 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00298/3.363, allocations: 1.147 MB / 1.37 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006422/3.363, allocations: 363.3 kB / 1.371 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/3.363, allocations: 0 / 1.371 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/3.465, allocations: 59.3 MB / 1.429 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/3.465, allocations: 248.2 kB / 1.429 GB, free: 59.78 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4995:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4995:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_functions.c:4995:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:459:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_integer(((modelica_integer) 1000)), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:460:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[7] /* junction.port_2.h_outflow variable */)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:460:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[7] /* junction.port_2.h_outflow variable */)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:461:185: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure32_Modelica_Fluid_Pipes_D_StaticPipe24pipe2_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[46] /* pipe2.flowModel.states[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:888:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box11(2, &Modelica_Media_IdealGases_Common_DataRecord__desc, MMC_REFSTRINGLIT(tmp0), mmc_mk_real(0.0289651159), mmc_mk_real(-4333.833858403446), mmc_mk_real(298609.6803431054), mmc_mk_integer(((modelica_integer) 1000)), mmc_mk_modelica_array(tmp1), mmc_mk_modelica_array(tmp2), mmc_mk_modelica_array(tmp3), mmc_mk_modelica_array(tmp4), mmc_mk_real(287.0512249529787)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:889:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:889:31: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box2(0, tmpMeta[1], mmc_mk_real(data->localData[0]->realVars[6] /* junction.port_1.h_outflow variable */)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.c:890:185: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure35_Modelica_Fluid_Pipes_D_StaticPipe24pipe1_Medium_T__h_f__nonlinear,tmpMeta[0]), 200.0, 6000.0, 1e-13) - data->localData[0]->realVars[25] /* pipe1.flowModel.states[2].T variable */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal_02nls.o] Error 1