Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 199 kB / 8.767 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008969/0.0008972, allocations: 90.61 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.484e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 63.24 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.677/8.821, allocations: 3.461 GB / 3.965 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/8.822, allocations: 88.12 kB / 3.965 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.296/15.12, allocations: 1.397 GB / 5.362 GB, free: 40.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/15.12, allocations: 0 / 5.362 GB, free: 40.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002614/15.12, allocations: 62.42 kB / 5.362 GB, free: 40.79 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.03162/15.15, allocations: 7.096 MB / 5.369 GB, free: 37.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/15.15, allocations: 8.906 kB / 5.369 GB, free: 37.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/15.15, allocations: 288.4 kB / 5.369 GB, free: 37.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/15.16, allocations: 1.57 MB / 5.371 GB, free: 36.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/15.16, allocations: 65.59 kB / 5.371 GB, free: 36.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/15.16, allocations: 109.9 kB / 5.371 GB, free: 36.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004953/15.16, allocations: 3.076 MB / 5.374 GB, free: 36.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/15.17, allocations: 2.785 MB / 5.377 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/15.17, allocations: 3.688 kB / 5.377 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002603/15.17, allocations: 5.469 kB / 5.377 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002489/15.17, allocations: 183.5 kB / 5.377 GB, free: 36.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02275/15.19, allocations: 11.97 MB / 5.389 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/15.19, allocations: 1.608 MB / 5.39 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/15.19, allocations: 1.059 MB / 5.391 GB, free: 31.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/15.2, allocations: 1.668 MB / 5.393 GB, free: 29.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/15.2, allocations: 52.94 kB / 5.393 GB, free: 29.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002236/15.2, allocations: 278.7 kB / 5.393 GB, free: 29.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=153): time 5.46e-06/15.2, allocations: 0 / 5.393 GB, free: 29.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=165): time 0.02741/15.23, allocations: 7.033 MB / 5.4 GB, free: 29.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/15.23, allocations: 196.5 kB / 5.4 GB, free: 28.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/15.23, allocations: 1.247 MB / 5.402 GB, free: 28.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/15.23, allocations: 28.17 kB / 5.402 GB, free: 28.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/15.23, allocations: 0.9918 MB / 5.403 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005564/15.23, allocations: 0.5589 MB / 5.403 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/15.23, allocations: 0 / 5.403 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001288/15.23, allocations: 397.9 kB / 5.404 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/15.23, allocations: 1.189 MB / 5.405 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/15.23, allocations: 1.529 MB / 5.406 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009047/15.24, allocations: 2.546 MB / 5.409 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/15.24, allocations: 0 / 5.409 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01667/15.26, allocations: 4.851 MB / 5.413 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006144/15.26, allocations: 2.97 MB / 5.416 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/15.26, allocations: 7.375 kB / 5.416 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004196/15.27, allocations: 0.8893 MB / 5.417 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/15.27, allocations: 0.4883 MB / 5.418 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/15.27, allocations: 2.136 MB / 5.42 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/15.27, allocations: 154.7 kB / 5.42 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003651/15.27, allocations: 134.4 kB / 5.42 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/15.27, allocations: 2.562 kB / 5.42 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01364/15.29, allocations: 4.463 MB / 5.424 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/15.29, allocations: 9.016 kB / 5.424 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004825/15.29, allocations: 0.8106 MB / 5.425 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004116/15.3, allocations: 0.4913 MB / 5.426 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/15.3, allocations: 1.853 MB / 5.427 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/15.3, allocations: 141.4 kB / 5.428 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008915/15.31, allocations: 130.3 kB / 5.428 GB, free: 21.64 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: junction.port_2.m_flow:VARIABLE(flow=true min = max(-(if junction1.portFlowDirection_1 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59), if junction.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59) max = min(-(if junction1.portFlowDirection_1 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59), if junction.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59) unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.001302/15.31, allocations: 180.9 kB / 5.428 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01231/15.32, allocations: 2.941 MB / 5.431 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009189/15.32, allocations: 186.5 kB / 5.431 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/15.33, allocations: 3.95 MB / 5.435 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/15.33, allocations: 21.16 kB / 5.435 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/15.33, allocations: 3.562 kB / 5.435 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/15.33, allocations: 8.953 kB / 5.435 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/15.35, allocations: 5.28 MB / 5.44 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/15.35, allocations: 2.906 kB / 5.44 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/15.35, allocations: 294.8 kB / 5.44 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/15.35, allocations: 0.742 MB / 5.441 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/15.35, allocations: 41.86 kB / 5.441 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/15.36, allocations: 2.04 MB / 5.443 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/15.36, allocations: 8.25 kB / 5.443 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008299/15.36, allocations: 4.262 MB / 5.447 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/15.37, allocations: 347.9 kB / 5.448 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/15.37, allocations: 15.38 kB / 5.448 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/15.37, allocations: 133.5 kB / 5.448 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/15.37, allocations: 130.5 kB / 5.448 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/15.37, allocations: 102.8 kB / 5.448 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001514/15.37, allocations: 1.037 MB / 5.449 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/15.37, allocations: 0.5938 kB / 5.449 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01207/15.38, allocations: 2.922 MB / 5.452 GB, free: 17.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 148 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02388/15.41, allocations: 9.991 MB / 5.462 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01006/15.42, allocations: 4.518 MB / 5.466 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/15.42, allocations: 3.188 kB / 5.466 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/15.42, allocations: 1.144 MB / 5.467 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005394/15.42, allocations: 0.9199 MB / 5.468 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/15.44, allocations: 4.79 MB / 5.473 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/15.44, allocations: 1.714 MB / 5.474 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004721/15.44, allocations: 1.365 MB / 5.476 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/15.45, allocations: 0.8803 MB / 5.476 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/15.45, allocations: 0 / 5.476 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.688/16.13, allocations: 107.3 MB / 5.581 GB, free: 51.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/16.13, allocations: 196.2 kB / 5.581 GB, free: 51.68 MB / 0.6355 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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_Fittings_TestJunctionTraceSubstances_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:1: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_Fittings_TestJunctionTraceSubstances_functions.c:17933:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:17933:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:17933: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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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 trunk/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_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_Fittings_TestJunctionTraceSubstances_02nls.c:611:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[3] /* junction1.medium.p STATE(1) */), mmc_mk_real(data->localData[0]->realVars[63] /* junction.port_3.h_outflow variable */), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:612:184: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure49_Modelica_Fluid_Pipes_StaticPipe$pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[180] /* pipe4.flowModel.states[1].T variable */; ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1671:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[3] /* junction1.medium.p STATE(1) */), mmc_mk_real(data->localData[0]->realVars[63] /* junction.port_3.h_outflow variable */), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1672:184: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure53_Modelica_Fluid_Pipes_StaticPipe$pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[180] /* pipe4.flowModel.states[1].T variable */; ^ 2 warnings and 4 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o] Error 1