Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001659/0.001659, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000846/0.0008461, allocations: 99.8 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2715/0.2715, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.883e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1476, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6258/0.7735, allocations: 216.2 MB / 0.7156 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.7737, allocations: 88.75 kB / 0.7157 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074/2.848, allocations: 479.4 MB / 1.184 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/2.848, allocations: 1.062 kB / 1.184 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.982e-05/2.848, allocations: 36.34 kB / 1.184 GB, free: 90.04 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00408/2.852, allocations: 1.526 MB / 1.185 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/2.852, allocations: 8.812 kB / 1.185 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/2.855, allocations: 363.3 kB / 1.186 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/2.857, allocations: 0.8464 MB / 1.187 GB, free: 89.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/2.857, allocations: 33.94 kB / 1.187 GB, free: 89.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/2.857, allocations: 48.06 kB / 1.187 GB, free: 89.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001326/2.859, allocations: 0.7197 MB / 1.187 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/2.86, allocations: 0.9448 MB / 1.188 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/2.86, allocations: 12.59 kB / 1.188 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/2.86, allocations: 3.344 kB / 1.188 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/2.86, allocations: 20.84 kB / 1.188 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/2.866, allocations: 5.178 MB / 1.193 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/2.867, allocations: 476.3 kB / 1.194 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/2.867, allocations: 267.1 kB / 1.194 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/2.868, allocations: 1.388 MB / 1.195 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/2.868, allocations: 50.31 kB / 1.195 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006484/2.868, allocations: 94.61 kB / 1.196 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 3.988e-06/2.868, allocations: 0 / 1.196 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.00599/2.874, allocations: 1.326 MB / 1.197 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/2.874, allocations: 187.8 kB / 1.197 GB, free: 83.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008167/2.875, allocations: 0.606 MB / 1.198 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.931e-05/2.875, allocations: 27.08 kB / 1.198 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/2.876, allocations: 0.5271 MB / 1.198 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/2.876, allocations: 218.3 kB / 1.198 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/2.876, allocations: 0 / 1.198 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/2.876, allocations: 343.5 kB / 1.199 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/2.876, allocations: 262.3 kB / 1.199 GB, free: 82.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/2.877, allocations: 465.7 kB / 1.199 GB, free: 82.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005972/2.883, allocations: 1.138 MB / 1.201 GB, free: 82.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/2.883, allocations: 1.219 kB / 1.201 GB, free: 82.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.007262/2.89, allocations: 1.756 MB / 1.202 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004636/2.891, allocations: 1.841 MB / 1.204 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/2.891, allocations: 3.844 kB / 1.204 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/2.893, allocations: 413.4 kB / 1.204 GB, free: 80.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/2.894, allocations: 256.9 kB / 1.205 GB, free: 80.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/2.896, allocations: 0.9438 MB / 1.206 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/2.897, allocations: 80.88 kB / 1.206 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/2.897, allocations: 68.05 kB / 1.206 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/2.897, allocations: 3.969 kB / 1.206 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004759/2.902, allocations: 1.374 MB / 1.207 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/2.902, allocations: 3.719 kB / 1.207 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/2.902, allocations: 79.55 kB / 1.207 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/2.903, allocations: 264.6 kB / 1.207 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/2.904, allocations: 1.605 MB / 1.209 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/2.905, allocations: 66.12 kB / 1.209 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/2.905, allocations: 62.83 kB / 1.209 GB, free: 78.66 MB / 0.5261 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.0002905/2.906, allocations: 124.1 kB / 1.209 GB, free: 78.55 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006486/2.912, allocations: 1.56 MB / 1.211 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/2.912, allocations: 97.69 kB / 1.211 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004747/2.917, allocations: 2.328 MB / 1.213 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/2.917, allocations: 7.156 kB / 1.213 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/2.917, allocations: 3.844 kB / 1.213 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/2.917, allocations: 7.844 kB / 1.213 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003902/2.921, allocations: 1.949 MB / 1.215 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/2.921, allocations: 6.938 kB / 1.215 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/2.922, allocations: 143.6 kB / 1.215 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/2.923, allocations: 299 kB / 1.215 GB, free: 77.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/2.923, allocations: 22.25 kB / 1.215 GB, free: 77.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/2.924, allocations: 0.9128 MB / 1.216 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/2.924, allocations: 11.67 kB / 1.216 GB, free: 77.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/2.927, allocations: 1.38 MB / 1.218 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/2.927, allocations: 296.3 kB / 1.218 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/2.927, allocations: 6.547 kB / 1.218 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/2.928, allocations: 68 kB / 1.218 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/2.928, allocations: 67.23 kB / 1.218 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/2.928, allocations: 47.62 kB / 1.218 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006242/2.929, allocations: 0.5187 MB / 1.219 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.929, allocations: 0 / 1.219 GB, free: 76.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002594/2.932, allocations: 0.7517 MB / 1.219 GB, free: 76.41 MB / 0.5261 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.004318/2.936, allocations: 3.091 MB / 1.222 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002211/2.938, allocations: 1.204 MB / 1.224 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.938, allocations: 3.344 kB / 1.224 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005348/2.939, allocations: 328.3 kB / 1.224 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/2.941, allocations: 413.7 kB / 1.224 GB, free: 74.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/2.945, allocations: 1.581 MB / 1.226 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/2.945, allocations: 1.101 MB / 1.227 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002127/2.947, allocations: 0.8184 MB / 1.228 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/2.948, allocations: 423.2 kB / 1.228 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/2.948, allocations: 1.875 kB / 1.228 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07108/3.019, allocations: 31.26 MB / 1.259 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/3.019, allocations: 201 kB / 1.259 GB, free: 72.32 MB / 0.5261 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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.c In file included from ModelicaTest_trunk_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_trunk_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.c:7: In file included from ./ModelicaTest_trunk_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1: In file included from ./ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1363:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_functions.c:1363:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_records.c In file included from ModelicaTest_trunk_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_01exo.c:2: In file included from ./ModelicaTest_trunk_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. -DOMC_MODEL_PREFIX=ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.c:2: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_02nls.o] Error 1