Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",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.000998/0.0009981, allocations: 170.9 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.374/1.374, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008441/0.000844, allocations: 93.34 kB / 281.6 MB, free: 5.324 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.2234/0.2234, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.841e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.892/9.02, allocations: 3.467 GB / 3.962 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/9.02, allocations: 93.03 kB / 3.962 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.873/14.89, allocations: 1.417 GB / 5.379 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.446e-06/14.89, allocations: 0 / 5.379 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002621/14.89, allocations: 64.92 kB / 5.379 GB, free: 35.16 MB / 0.6042 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.03027/14.92, allocations: 7.019 MB / 5.386 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/14.92, allocations: 13.55 kB / 5.386 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/14.93, allocations: 284.5 kB / 5.386 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004266/14.93, allocations: 1.568 MB / 5.387 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/14.93, allocations: 60.94 kB / 5.387 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/14.93, allocations: 113 kB / 5.388 GB, free: 31.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004711/14.94, allocations: 3.074 MB / 5.391 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/14.94, allocations: 2.789 MB / 5.393 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/14.94, allocations: 3.906 kB / 5.393 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/14.94, allocations: 4.969 kB / 5.393 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/14.94, allocations: 181.5 kB / 5.393 GB, free: 31.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/14.96, allocations: 11.97 MB / 5.405 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/14.96, allocations: 1.61 MB / 5.407 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/14.97, allocations: 1.061 MB / 5.408 GB, free: 26.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/14.97, allocations: 1.667 MB / 5.409 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/14.97, allocations: 57.47 kB / 5.409 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002162/14.97, allocations: 275.5 kB / 5.41 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=153): time 4.608e-06/14.97, allocations: 0 / 5.41 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=165): time 0.02656/15, allocations: 7.044 MB / 5.417 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/15, allocations: 198 kB / 5.417 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/15, allocations: 1.244 MB / 5.418 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000558/15, allocations: 28.7 kB / 5.418 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/15, allocations: 0.9947 MB / 5.419 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006274/15, allocations: 0.5542 MB / 5.42 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/15, allocations: 7.062 kB / 5.42 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001173/15, allocations: 385.2 kB / 5.42 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/15, allocations: 1.2 MB / 5.421 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/15, allocations: 1.516 MB / 5.423 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00696/15.01, allocations: 2.283 MB / 5.425 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/15.01, allocations: 6.703 kB / 5.425 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01422/15.02, allocations: 4.592 MB / 5.429 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008936/15.03, allocations: 2.97 MB / 5.432 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/15.03, allocations: 5.656 kB / 5.432 GB, free: 18.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/15.03, allocations: 0.8902 MB / 5.433 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/15.03, allocations: 0.4926 MB / 5.434 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/15.04, allocations: 2.137 MB / 5.436 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/15.04, allocations: 150.5 kB / 5.436 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/15.04, allocations: 138.6 kB / 5.436 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/15.04, allocations: 2.656 kB / 5.436 GB, free: 17.27 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01179/15.05, allocations: 4.198 MB / 5.44 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/15.05, allocations: 6.906 kB / 5.44 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/15.06, allocations: 0.8089 MB / 5.441 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/15.06, allocations: 0.493 MB / 5.441 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/15.06, allocations: 1.852 MB / 5.443 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/15.06, allocations: 139.6 kB / 5.443 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006073/15.06, allocations: 134.6 kB / 5.443 GB, free: 16.12 MB / 0.6042 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.001215/15.06, allocations: 182.3 kB / 5.444 GB, free: 16 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009068/15.07, allocations: 2.947 MB / 5.446 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/15.07, allocations: 183.7 kB / 5.447 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008128/15.08, allocations: 3.947 MB / 5.45 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/15.08, allocations: 16.38 kB / 5.45 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/15.08, allocations: 0 / 5.45 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/15.08, allocations: 14.31 kB / 5.45 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/15.09, allocations: 5.279 MB / 5.456 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/15.09, allocations: 3.219 kB / 5.456 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/15.1, allocations: 296.5 kB / 5.456 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002779/15.1, allocations: 0.7434 MB / 5.457 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/15.1, allocations: 41.08 kB / 5.457 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/15.1, allocations: 2.025 MB / 5.459 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/15.1, allocations: 3.719 kB / 5.459 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008298/15.11, allocations: 4.266 MB / 5.463 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/15.11, allocations: 351.6 kB / 5.463 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/15.11, allocations: 18.22 kB / 5.463 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/15.11, allocations: 130.2 kB / 5.463 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/15.11, allocations: 129.8 kB / 5.463 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/15.11, allocations: 101.9 kB / 5.464 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001565/15.12, allocations: 1.039 MB / 5.465 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/15.12, allocations: 0 / 5.465 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0123/15.13, allocations: 2.886 MB / 5.467 GB, free: 12.25 MB / 0.6042 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.02097/15.15, allocations: 9.964 MB / 5.477 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01027/15.16, allocations: 4.516 MB / 5.482 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/15.16, allocations: 4.906 kB / 5.482 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/15.16, allocations: 1.149 MB / 5.483 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/15.17, allocations: 0.9039 MB / 5.484 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/15.18, allocations: 4.783 MB / 5.488 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/15.19, allocations: 1.708 MB / 5.49 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004858/15.19, allocations: 1.367 MB / 5.491 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/15.19, allocations: 0.8722 MB / 5.492 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.483e-06/15.19, allocations: 0 / 5.492 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7021/15.89, allocations: 107.3 MB / 5.597 GB, free: 59.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/15.89, allocations: 201.7 kB / 5.597 GB, free: 59.63 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 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_FMU.c In file included from ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.c:7: In file included from ./ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:1: In file included from ./ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:18282:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:18282:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:18282: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_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_records.c In file included from ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_01exo.c:2: In file included from ./ModelicaTest_4_0_0_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 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:2: In file included from ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o] Error 1