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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009671/0.0009667, allocations: 100.1 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009328/0.0009331, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.000426, allocations: 8.562 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.5703/0.7302, allocations: 243.7 MB / 0.6984 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4206/1.151, allocations: 22.2 MB / 0.7201 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/1.154, allocations: 71.66 kB / 0.7202 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003358/1.157, allocations: 0.8664 MB / 0.721 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01898/1.176, allocations: 5.321 MB / 0.7262 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02106/1.197, allocations: 5.964 MB / 0.7321 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00783/1.205, allocations: 3.317 MB / 0.7353 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/1.209, allocations: 1.646 MB / 0.7369 GB, free: 21.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008957/1.218, allocations: 3.126 MB / 0.74 GB, free: 21.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005369/1.223, allocations: 2.021 MB / 0.7419 GB, free: 21.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/1.225, allocations: 143.8 kB / 0.7421 GB, free: 21.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02941/1.254, allocations: 14.05 MB / 0.7558 GB, free: 20.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002794/1.257, allocations: 0.9877 MB / 0.7567 GB, free: 19.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/1.259, allocations: 0.5154 MB / 0.7573 GB, free: 19.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02167/1.281, allocations: 7.461 MB / 0.7645 GB, free: 16.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/1.281, allocations: 0 / 0.7645 GB, free: 16.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.581e-06/1.281, allocations: 6.719 kB / 0.7645 GB, free: 16.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001254/1.281, allocations: 2.531 kB / 0.7645 GB, free: 16.77 MB / 0.545 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.01318/1.294, allocations: 4.075 MB / 0.7685 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.294, allocations: 11.38 kB / 0.7685 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/1.295, allocations: 291 kB / 0.7688 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.296, allocations: 288.4 kB / 0.7691 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/1.299, allocations: 1.402 MB / 0.7705 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/1.299, allocations: 144.3 kB / 0.7706 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/1.3, allocations: 183.4 kB / 0.7708 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/1.305, allocations: 3.122 MB / 0.7738 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/1.305, allocations: 11.94 kB / 0.7738 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/1.305, allocations: 82.61 kB / 0.7739 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/1.305, allocations: 190 kB / 0.7741 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006086/1.312, allocations: 3.519 MB / 0.7775 GB, free: 11.88 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02338/1.335, allocations: 13.01 MB / 0.7902 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/1.338, allocations: 1.73 MB / 0.7919 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.339, allocations: 1.665 MB / 0.7935 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/1.339, allocations: 65.66 kB / 0.7936 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001974/1.341, allocations: 345.5 kB / 0.7939 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=153): time 4.95e-06/1.341, allocations: 7.938 kB / 0.7939 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=165): time 0.02692/1.368, allocations: 9.055 MB / 0.8028 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.369, allocations: 198.1 kB / 0.803 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/1.372, allocations: 2.052 MB / 0.805 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003749/1.372, allocations: 66.08 kB / 0.805 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/1.373, allocations: 0.9838 MB / 0.806 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/1.373, allocations: 0.5707 MB / 0.8066 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/1.374, allocations: 45.94 kB / 0.8066 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.374, allocations: 395.2 kB / 0.807 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/1.376, allocations: 1.328 MB / 0.8083 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/1.379, allocations: 1.7 MB / 0.8099 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/1.382, allocations: 1.585 MB / 0.8115 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/1.382, allocations: 4 kB / 0.8115 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009751/1.392, allocations: 4.175 MB / 0.8156 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001254/1.393, allocations: 3.501 MB / 0.819 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.393, allocations: 8 kB / 0.819 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007387/1.401, allocations: 1.301 MB / 0.8203 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/1.403, allocations: 0.4993 MB / 0.8208 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/1.407, allocations: 2.122 MB / 0.8228 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.41, allocations: 194.4 kB / 0.823 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005737/1.411, allocations: 136.6 kB / 0.8231 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.411, allocations: 4 kB / 0.8231 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009299/1.42, allocations: 3.863 MB / 0.8269 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/1.42, allocations: 8 kB / 0.8269 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005029/1.425, allocations: 0.9532 MB / 0.8279 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.428, allocations: 0.4977 MB / 0.8283 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/1.431, allocations: 1.92 MB / 0.8302 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.434, allocations: 189.1 kB / 0.8304 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006245/1.435, allocations: 131.4 kB / 0.8305 GB, free: 1.586 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 251 * 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,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001786/1.436, allocations: 0.633 MB / 0.8311 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/1.437, allocations: 221.4 kB / 0.8314 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00785/1.445, allocations: 4.231 MB / 0.8355 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.445, allocations: 19.94 kB / 0.8355 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.445, allocations: 0 / 0.8355 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.445, allocations: 7.969 kB / 0.8355 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/1.456, allocations: 5.673 MB / 0.8411 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.456, allocations: 4 kB / 0.8411 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.457, allocations: 297.4 kB / 0.8413 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005848/1.463, allocations: 1.151 MB / 0.8425 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/1.463, allocations: 68.19 kB / 0.8425 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002732/1.466, allocations: 2.037 MB / 0.8445 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/1.466, allocations: 10.62 kB / 0.8445 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009264/1.475, allocations: 4.636 MB / 0.8491 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.477, allocations: 410.8 kB / 0.8494 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009462/1.478, allocations: 37.69 kB / 0.8495 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.48, allocations: 163.8 kB / 0.8496 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/1.481, allocations: 131.1 kB / 0.8498 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004562/1.481, allocations: 98.36 kB / 0.8499 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003009/1.484, allocations: 1.534 MB / 0.8514 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.484, allocations: 0 / 0.8514 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01314/1.497, allocations: 2.703 MB / 0.854 GB, free: 15.16 MB / 0.6075 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 () * Number of clocked 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.02109/1.519, allocations: 8.365 MB / 0.8622 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01419/1.533, allocations: 4.981 MB / 0.867 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.895e-05/1.533, allocations: 7.469 kB / 0.867 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.536, allocations: 1.322 MB / 0.8683 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006796/1.543, allocations: 1.223 MB / 0.8695 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.562, allocations: 13.25 MB / 0.8825 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.563, allocations: 1.713 MB / 0.8841 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004653/1.568, allocations: 1.454 MB / 0.8856 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.569, allocations: 0.9146 MB / 0.8864 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/1.569, allocations: 0 / 0.8864 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3784/1.948, allocations: 108.7 MB / 0.9926 GB, free: 351.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.948, allocations: 273.1 kB / 0.9928 GB, free: 351.1 MB / 0.7012 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_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:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:705:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_functions.c:705: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:705:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_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:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:616: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[62] /* junction.port_3.h_outflow variable */), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:617:222: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[185] /* pipe4.flowModel.states[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1664: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[62] /* junction.port_3.h_outflow variable */), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1665:222: error: use of undeclared identifier 'tmpMeta' res[1] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure4_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[185] /* pipe4.flowModel.states[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1670:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[3] /* junction1.medium.p STATE(1) */), mmc_mk_real(data->localData[0]->realVars[58] /* junction.port_1.h_outflow variable */), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.c:1671:222: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure5_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe1_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[114] /* pipe1.flowModel.states[2].T variable */; ^ 2 warnings and 6 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_02nls.o] Error 1