Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.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.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",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.001115/0.001115, allocations: 99.33 kB / 16.98 MB, free: 6.398 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.001273/0.001273, allocations: 183.8 kB / 17.87 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.336/1.336, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003418, allocations: 9.188 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.5613/0.6979, allocations: 216.1 MB / 0.6715 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03628/0.7342, allocations: 22.9 MB / 0.6939 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.7377, allocations: 107.2 kB / 0.694 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.7416, allocations: 1.05 MB / 0.695 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.7581, allocations: 4.636 MB / 0.6995 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01881/0.7769, allocations: 6.441 MB / 0.7058 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.3884/1.165, allocations: 8.452 MB / 0.7141 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009017/1.174, allocations: 3.634 MB / 0.7176 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/1.188, allocations: 4.91 MB / 0.7224 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/1.2, allocations: 4.703 MB / 0.727 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.004285/1.204, allocations: 383 kB / 0.7274 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02505/1.229, allocations: 10.12 MB / 0.7373 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.008123/1.237, allocations: 3.486 MB / 0.7407 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.006644/1.244, allocations: 1.575 MB / 0.7422 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02567/1.27, allocations: 12.92 MB / 0.7548 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.27, allocations: 0 / 0.7548 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.486e-06/1.27, allocations: 0 / 0.7548 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005715/1.27, allocations: 0 / 0.7548 GB, free: 3.297 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.04113/1.311, allocations: 9.797 MB / 0.7644 GB, free: 14.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.312, allocations: 9.969 kB / 0.7644 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006427/1.318, allocations: 1.014 MB / 0.7654 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008289/1.326, allocations: 0.8499 MB / 0.7662 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/1.342, allocations: 4.179 MB / 0.7703 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008366/1.342, allocations: 486.2 kB / 0.7708 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005071/1.347, allocations: 0.6363 MB / 0.7714 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04285/1.39, allocations: 14.17 MB / 0.7852 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004023/1.391, allocations: 22.7 kB / 0.7853 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004117/1.395, allocations: 255.3 kB / 0.7855 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/1.397, allocations: 1.261 MB / 0.7867 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03617/1.433, allocations: 16.5 MB / 0.8028 GB, free: 7.766 MB / 0.5606 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.1047/1.537, allocations: 53.44 MB / 0.855 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/1.557, allocations: 10.97 MB / 0.8658 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004151/1.561, allocations: 4.121 MB / 0.8698 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/1.561, allocations: 144.2 kB / 0.8699 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006931/1.568, allocations: 0.7801 MB / 0.8707 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=881): time 4.518e-05/1.568, allocations: 0 / 0.8707 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1121): time 0.6603/2.229, allocations: 99.15 MB / 0.9675 GB, free: 318.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/2.229, allocations: 170.1 kB / 0.9677 GB, free: 318.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007172/2.236, allocations: 3.869 MB / 0.9714 GB, free: 318.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00406/2.24, allocations: 230.5 kB / 0.9717 GB, free: 318.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00202/2.242, allocations: 2.424 MB / 0.974 GB, free: 318 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.005745/2.248, allocations: 3.898 MB / 0.9778 GB, free: 315.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/2.25, allocations: 219 kB / 0.978 GB, free: 315.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0008572/2.251, allocations: 0.7512 MB / 0.9788 GB, free: 314.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02119/2.272, allocations: 10.17 MB / 0.9887 GB, free: 311.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02358/2.296, allocations: 11.68 MB / 1 GB, free: 307.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/2.318, allocations: 11.25 MB / 1.011 GB, free: 303.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.961e-05/2.318, allocations: 15.36 kB / 1.011 GB, free: 303.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.08135/2.4, allocations: 32.69 MB / 1.043 GB, free: 286.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.002556/2.402, allocations: 13.94 MB / 1.057 GB, free: 270.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.229e-05/2.402, allocations: 32 kB / 1.057 GB, free: 270.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2492/2.652, allocations: 79.39 MB / 1.134 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/2.657, allocations: 1.084 MB / 1.135 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07023/2.727, allocations: 35.28 MB / 1.17 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/2.743, allocations: 1.79 MB / 1.171 GB, free: 153.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003725/2.747, allocations: 0.5622 MB / 1.172 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/2.747, allocations: 4 kB / 1.172 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07217/2.819, allocations: 31.38 MB / 1.203 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/2.82, allocations: 32 kB / 1.203 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2082/3.028, allocations: 69.14 MB / 1.27 GB, free: 51.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005546/3.033, allocations: 1.19 MB / 1.271 GB, free: 50.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06985/3.103, allocations: 32.23 MB / 1.303 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01678/3.12, allocations: 1.751 MB / 1.305 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00485/3.125, allocations: 0.5544 MB / 1.305 GB, free: 16.07 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 145 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (603): * Single equations (assignments): 602 * 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 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01264/3.138, allocations: 2.58 MB / 1.308 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004194/3.142, allocations: 0.6564 MB / 1.308 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3775/3.519, allocations: 30.96 MB / 1.339 GB, free: 317 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002633/3.52, allocations: 117.9 kB / 1.339 GB, free: 317 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.467e-05/3.52, allocations: 3.156 kB / 1.339 GB, free: 317 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05792/3.578, allocations: 24 MB / 1.362 GB, free: 309.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0951/3.673, allocations: 42.14 MB / 1.403 GB, free: 269.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.515e-05/3.673, allocations: 0 / 1.403 GB, free: 269.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0114/3.684, allocations: 2.124 MB / 1.405 GB, free: 267.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04978/3.734, allocations: 14.04 MB / 1.419 GB, free: 253.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003694/3.738, allocations: 0.5971 MB / 1.42 GB, free: 253 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03532/3.773, allocations: 33.18 MB / 1.452 GB, free: 218.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.773, allocations: 0 / 1.452 GB, free: 218.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07657/3.85, allocations: 37.16 MB / 1.488 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002786/3.853, allocations: 0.8047 MB / 1.489 GB, free: 180.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004825/3.858, allocations: 461.7 kB / 1.489 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01407/3.872, allocations: 1.444 MB / 1.491 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003512/3.875, allocations: 0.7544 MB / 1.492 GB, free: 178 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002814/3.878, allocations: 0.5347 MB / 1.492 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003902/3.882, allocations: 2.655 MB / 1.495 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.01e-07/3.882, allocations: 0 / 1.495 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.02855/3.911, allocations: 6.538 MB / 1.501 GB, free: 168.6 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * 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 (1056): * Single equations (assignments): 1029 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.08881/3.999, allocations: 40.46 MB / 1.541 GB, free: 128.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.08246/4.082, allocations: 37.26 MB / 1.577 GB, free: 90.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/4.082, allocations: 5 kB / 1.577 GB, free: 90.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0266/4.109, allocations: 12.74 MB / 1.589 GB, free: 78.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/4.126, allocations: 3.164 MB / 1.593 GB, free: 74.96 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08992/4.216, allocations: 65.07 MB / 1.656 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006029/4.222, allocations: 5.193 MB / 1.661 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.2921/4.514, allocations: 5.472 MB / 1.667 GB, free: 303.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01111/4.525, allocations: 3.463 MB / 1.67 GB, free: 303.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/4.525, allocations: 1.031 kB / 1.67 GB, free: 303.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8171/5.342, allocations: 460.8 MB / 2.12 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/5.342, allocations: 296.5 kB / 2.12 GB, free: 194.7 MB / 0.6856 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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:763:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:763:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_functions.c:763: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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_records.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_01exo.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:2: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_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_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4444:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[29] /* pipe2.mediums[5].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[490] /* $cse98 variable */) * (data->localData[0]->realVars[980] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[458] /* $cse69 variable */) * (data->localData[0]->realVars[1217] /* pipe3.mediums[5].h DUMMY_STATE */),data->localData[0]->realVars[490] /* $cse98 variable */ + data->localData[0]->realVars[458] /* $cse69 variable */,"$cse98 + $cse69",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4445:234: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe4_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1498] /* pipe4.statesFM[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4448:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[29] /* pipe2.mediums[5].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[490] /* $cse98 variable */) * (data->localData[0]->realVars[980] /* pipe2.mediums[5].h DUMMY_STATE */) + (data->localData[0]->realVars[457] /* $cse68 variable */) * (data->localData[0]->realVars[1452] /* pipe4.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[490] /* $cse98 variable */ + data->localData[0]->realVars[457] /* $cse68 variable */,"$cse98 + $cse68",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4449:234: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure1_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe3_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1260] /* pipe3.statesFM[7].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4869:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[0] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[25] /* pipe2.mediums[1].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[414] /* $cse29 variable */) * (data->localData[0]->realVars[976] /* pipe2.mediums[1].h DUMMY_STATE */) + (data->localData[0]->realVars[456] /* $cse67 variable */) * (data->localData[0]->realVars[708] /* pipe1.mediums[5].h DUMMY_STATE */),data->localData[0]->realVars[414] /* $cse29 variable */ + data->localData[0]->realVars[456] /* $cse67 variable */,"$cse29 + $cse67",equationIndexes)), mmc_mk_modelica_array(tmp0)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4870:234: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure2_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe3_Medium_T__phX_f__nonlinear,tmpMeta[0]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[1259] /* pipe3.statesFM[1].T variable */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4877:3: error: use of undeclared identifier 'tmpMeta' tmpMeta[1] = mmc_mk_box3(0, mmc_mk_real(data->localData[0]->realVars[25] /* pipe2.mediums[1].p STATE(1) */), mmc_mk_real(DIVISION_SIM((data->localData[0]->realVars[414] /* $cse29 variable */) * (data->localData[0]->realVars[976] /* pipe2.mediums[1].h DUMMY_STATE */) + (data->localData[0]->realVars[416] /* $cse30 variable */) * (data->localData[0]->realVars[1213] /* pipe3.mediums[1].h DUMMY_STATE */),data->localData[0]->realVars[414] /* $cse29 variable */ + data->localData[0]->realVars[416] /* $cse30 variable */,"$cse29 + $cse30",equationIndexes)), mmc_mk_modelica_array(tmp1)); ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:4878:234: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure3_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes__MomentumSteadyState_pipe1_Medium_T__phX_f__nonlinear,tmpMeta[1]), 190.0, 647.0, 1e-13) - data->localData[0]->realVars[751] /* pipe1.statesFM[7].T variable */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o] Error 1