Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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.00131/0.00131, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.000963/0.000963, allocations: 92.98 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.132e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1523, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9747/1.127, allocations: 215.2 MB / 0.7049 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/1.127, allocations: 83.33 kB / 0.705 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/2.866, allocations: 472.7 MB / 1.167 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/2.867, allocations: 0 / 1.167 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.719e-05/2.867, allocations: 39.06 kB / 1.167 GB, free: 88.61 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004365/2.871, allocations: 1.513 MB / 1.168 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/2.871, allocations: 16.55 kB / 1.168 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/2.874, allocations: 361.7 kB / 1.168 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/2.876, allocations: 0.8386 MB / 1.169 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/2.876, allocations: 26.78 kB / 1.169 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/2.876, allocations: 51.89 kB / 1.169 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/2.878, allocations: 0.7197 MB / 1.17 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/2.879, allocations: 0.957 MB / 1.171 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/2.879, allocations: 3.938 kB / 1.171 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/2.879, allocations: 7.281 kB / 1.171 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/2.879, allocations: 22.06 kB / 1.171 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/2.885, allocations: 5.186 MB / 1.176 GB, free: 83.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007389/2.885, allocations: 470.9 kB / 1.177 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/2.886, allocations: 272.3 kB / 1.177 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/2.886, allocations: 1.388 MB / 1.178 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/2.886, allocations: 45.39 kB / 1.178 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005941/2.887, allocations: 101.1 kB / 1.178 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 3.316e-06/2.887, allocations: 1.594 kB / 1.178 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.005902/2.893, allocations: 1.315 MB / 1.18 GB, free: 81.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/2.893, allocations: 191.4 kB / 1.18 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/2.894, allocations: 0.6113 MB / 1.18 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/2.894, allocations: 25.7 kB / 1.18 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/2.894, allocations: 0.5307 MB / 1.181 GB, free: 81.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/2.894, allocations: 211.6 kB / 1.181 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/2.894, allocations: 0 / 1.181 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/2.895, allocations: 342.7 kB / 1.181 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/2.895, allocations: 263.9 kB / 1.182 GB, free: 80.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/2.895, allocations: 459.6 kB / 1.182 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005754/2.901, allocations: 1.142 MB / 1.183 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/2.901, allocations: 0 / 1.183 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.007153/2.908, allocations: 1.759 MB / 1.185 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004866/2.909, allocations: 1.837 MB / 1.187 GB, free: 78.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/2.909, allocations: 3.938 kB / 1.187 GB, free: 78.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/2.911, allocations: 419.2 kB / 1.187 GB, free: 78.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/2.912, allocations: 258 kB / 1.187 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/2.914, allocations: 0.9449 MB / 1.188 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/2.915, allocations: 73.14 kB / 1.188 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/2.915, allocations: 66.23 kB / 1.188 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/2.915, allocations: 3.594 kB / 1.188 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005189/2.921, allocations: 1.366 MB / 1.19 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/2.921, allocations: 7.562 kB / 1.19 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/2.921, allocations: 72.98 kB / 1.19 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/2.922, allocations: 275.7 kB / 1.19 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/2.923, allocations: 1.593 MB / 1.192 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/2.924, allocations: 71.09 kB / 1.192 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/2.925, allocations: 57.05 kB / 1.192 GB, free: 76.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003558/2.925, allocations: 123 kB / 1.192 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006974/2.932, allocations: 1.561 MB / 1.193 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/2.932, allocations: 104.6 kB / 1.194 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005414/2.938, allocations: 2.34 MB / 1.196 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/2.938, allocations: 7.656 kB / 1.196 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.938, allocations: 3.516 kB / 1.196 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/2.938, allocations: 3.516 kB / 1.196 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005517/2.943, allocations: 1.947 MB / 1.198 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/2.943, allocations: 4 kB / 1.198 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/2.944, allocations: 147.4 kB / 1.198 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/2.945, allocations: 298.3 kB / 1.198 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/2.945, allocations: 26.38 kB / 1.198 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/2.946, allocations: 0.9155 MB / 1.199 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/2.946, allocations: 7.938 kB / 1.199 GB, free: 73.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/2.95, allocations: 1.387 MB / 1.2 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/2.951, allocations: 291.7 kB / 1.201 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/2.951, allocations: 4 kB / 1.201 GB, free: 72.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/2.952, allocations: 63.67 kB / 1.201 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/2.953, allocations: 67.33 kB / 1.201 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/2.953, allocations: 49.97 kB / 1.201 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001109/2.954, allocations: 0.5159 MB / 1.201 GB, free: 71.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/2.954, allocations: 0 / 1.201 GB, free: 71.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003758/2.958, allocations: 0.7513 MB / 1.202 GB, free: 70.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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 Backend phase and start with SimCode phase: time 0.005223/2.963, allocations: 3.084 MB / 1.205 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002445/2.965, allocations: 1.214 MB / 1.206 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.965, allocations: 1.438 kB / 1.206 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005784/2.966, allocations: 331.7 kB / 1.207 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/2.968, allocations: 410.2 kB / 1.207 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/2.973, allocations: 1.586 MB / 1.209 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/2.973, allocations: 1.107 MB / 1.21 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002349/2.976, allocations: 0.8105 MB / 1.211 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006234/2.976, allocations: 429.1 kB / 1.211 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/2.976, allocations: 2.938 kB / 1.211 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07013/3.046, allocations: 31.26 MB / 1.241 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/3.047, allocations: 201 kB / 1.242 GB, free: 33.82 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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_Valves_TestValvesIncompressibleReverse_functions.c:1363:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1363:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1363:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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_Valves_TestValvesIncompressibleReverse_02nls.c:617:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box2(0, mmc_mk_real(data->localData[0]->realVars[96] /* V2.port_b.p variable */), mmc_mk_real(data->localData[0]->realVars[125] /* V5.port_b.h_outflow variable */)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:618:190: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure85_Modelica_Fluid_Valves_ValveIncompressible$V5_Medium_T__ph_f__nonlinear,tmpMeta[1]), 273.15, 593.15, 1e-13) - data->localData[0]->realVars[128] /* V5.state_a.T variable */; ^ 2 warnings and 2 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o] Error 1