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.0009825/0.0009825, allocations: 98.89 kB / 17 MB, free: 6.844 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.001189/0.001189, allocations: 188.9 kB / 17.89 MB, free: 6.078 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.358/1.358, allocations: 223.3 MB / 241.9 MB, free: 14.62 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.2018/0.2018, allocations: 44.22 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 8.812 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1407, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.534/0.6748, allocations: 251.9 MB / 0.7066 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4032/1.078, allocations: 22.13 MB / 0.7282 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/1.082, allocations: 113 kB / 0.7283 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003442/1.085, allocations: 0.8938 MB / 0.7292 GB, free: 6.223 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01724/1.103, allocations: 5.382 MB / 0.7344 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02264/1.125, allocations: 6.667 MB / 0.7409 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02246/1.148, allocations: 18.78 MB / 0.7593 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0084/1.156, allocations: 3.636 MB / 0.7628 GB, free: 20.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/1.17, allocations: 5.408 MB / 0.7681 GB, free: 19.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/1.184, allocations: 6.903 MB / 0.7748 GB, free: 17.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003778/1.187, allocations: 377.8 kB / 0.7752 GB, free: 17.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02766/1.215, allocations: 9.93 MB / 0.7849 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.008061/1.223, allocations: 3.924 MB / 0.7887 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006146/1.229, allocations: 1.577 MB / 0.7903 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02262/1.252, allocations: 13.12 MB / 0.8031 GB, free: 272 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.252, allocations: 3.938 kB / 0.8031 GB, free: 268 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/1.252, allocations: 1.969 kB / 0.8031 GB, free: 268 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004049/1.252, allocations: 0 / 0.8031 GB, free: 268 kB / 0.545 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.03241/1.285, allocations: 9.855 MB / 0.8127 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.6e-05/1.285, allocations: 12.56 kB / 0.8127 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004371/1.289, allocations: 1.013 MB / 0.8137 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/1.294, allocations: 0.8429 MB / 0.8145 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/1.307, allocations: 5.592 MB / 0.82 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/1.308, allocations: 486.5 kB / 0.8205 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/1.311, allocations: 0.6345 MB / 0.8211 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02783/1.338, allocations: 14.21 MB / 0.835 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/1.339, allocations: 26.73 kB / 0.835 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/1.34, allocations: 255.3 kB / 0.8352 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/1.341, allocations: 1.258 MB / 0.8365 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03173/1.373, allocations: 16.5 MB / 0.8526 GB, free: 10.79 MB / 0.5919 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.09113/1.464, allocations: 52.95 MB / 0.9043 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/1.485, allocations: 10.98 MB / 0.915 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01364/1.499, allocations: 7.292 MB / 0.9221 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003974/1.503, allocations: 4.126 MB / 0.9261 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/1.503, allocations: 145.2 kB / 0.9263 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005236/1.508, allocations: 0.7731 MB / 0.927 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=881): time 2.236e-05/1.508, allocations: 0 / 0.927 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1121): time 0.5726/2.081, allocations: 99.11 MB / 1.024 GB, free: 280.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/2.081, allocations: 168.2 kB / 1.024 GB, free: 280.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007061/2.088, allocations: 3.837 MB / 1.028 GB, free: 276.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004684/2.093, allocations: 229.7 kB / 1.028 GB, free: 276.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002723/2.095, allocations: 2.416 MB / 1.03 GB, free: 273.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.006517/2.102, allocations: 3.904 MB / 1.034 GB, free: 269.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002575/2.105, allocations: 220 kB / 1.034 GB, free: 269.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0006868/2.105, allocations: 0.754 MB / 1.035 GB, free: 268.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01874/2.124, allocations: 10.17 MB / 1.045 GB, free: 258.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02159/2.146, allocations: 11.73 MB / 1.056 GB, free: 246.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02272/2.168, allocations: 11.24 MB / 1.067 GB, free: 235.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/2.169, allocations: 12 kB / 1.067 GB, free: 235.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.08206/2.251, allocations: 32.71 MB / 1.099 GB, free: 202.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009057/2.252, allocations: 1.093 MB / 1.1 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/2.252, allocations: 32 kB / 1.1 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2377/2.489, allocations: 79.41 MB / 1.178 GB, free: 121.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004848/2.494, allocations: 1.084 MB / 1.179 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06893/2.563, allocations: 35.29 MB / 1.214 GB, free: 85.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01373/2.577, allocations: 1.786 MB / 1.215 GB, free: 83.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003123/2.58, allocations: 0.57 MB / 1.216 GB, free: 82.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/2.58, allocations: 6.156 kB / 1.216 GB, free: 82.73 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06848/2.649, allocations: 31.38 MB / 1.247 GB, free: 51.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/2.649, allocations: 35.94 kB / 1.247 GB, free: 51.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5019/3.151, allocations: 69.15 MB / 1.314 GB, free: 293.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/3.156, allocations: 1.197 MB / 1.315 GB, free: 292.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06248/3.218, allocations: 32.23 MB / 1.347 GB, free: 269 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/3.232, allocations: 1.751 MB / 1.348 GB, free: 267.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003345/3.235, allocations: 0.5622 MB / 1.349 GB, free: 266.7 MB / 0.67 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.008565/3.244, allocations: 2.578 MB / 1.351 GB, free: 264.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003411/3.247, allocations: 0.6518 MB / 1.352 GB, free: 263.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05735/3.305, allocations: 30.95 MB / 1.382 GB, free: 233.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001279/3.305, allocations: 116 kB / 1.382 GB, free: 233 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-05/3.305, allocations: 0.875 kB / 1.382 GB, free: 233 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04598/3.351, allocations: 24.01 MB / 1.406 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08106/3.432, allocations: 42.02 MB / 1.447 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/3.432, allocations: 4 kB / 1.447 GB, free: 167 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01104/3.443, allocations: 2.126 MB / 1.449 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04526/3.488, allocations: 14.05 MB / 1.463 GB, free: 150.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003457/3.492, allocations: 0.5932 MB / 1.463 GB, free: 150.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03465/3.527, allocations: 33.1 MB / 1.496 GB, free: 116 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/3.527, allocations: 0 / 1.496 GB, free: 116 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07328/3.6, allocations: 37.07 MB / 1.532 GB, free: 78.69 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/3.603, allocations: 0.7933 MB / 1.533 GB, free: 77.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004545/3.607, allocations: 459.7 kB / 1.533 GB, free: 77.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01334/3.621, allocations: 1.447 MB / 1.534 GB, free: 75.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003814/3.625, allocations: 0.7621 MB / 1.535 GB, free: 75.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002004/3.627, allocations: 0.5347 MB / 1.536 GB, free: 74.67 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003658/3.63, allocations: 2.628 MB / 1.538 GB, free: 72.06 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.9e-07/3.63, allocations: 0 / 1.538 GB, free: 72.06 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.02514/3.655, allocations: 6.526 MB / 1.545 GB, free: 65.82 MB / 0.67 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.08033/3.736, allocations: 40.14 MB / 1.584 GB, free: 25.95 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3264/4.062, allocations: 37.24 MB / 1.62 GB, free: 300.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/4.062, allocations: 8.844 kB / 1.62 GB, free: 300.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.02666/4.089, allocations: 12.74 MB / 1.633 GB, free: 296.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/4.107, allocations: 3.346 MB / 1.636 GB, free: 296 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2056/4.313, allocations: 104.8 MB / 1.738 GB, free: 206.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005887/4.319, allocations: 5.063 MB / 1.743 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.02204/4.341, allocations: 5.547 MB / 1.749 GB, free: 196.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009412/4.35, allocations: 3.463 MB / 1.752 GB, free: 192.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.253e-06/4.35, allocations: 0 / 1.752 GB, free: 192.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.094/5.444, allocations: 466.6 MB / 2.208 GB, free: 32.44 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/5.444, allocations: 298.5 kB / 2.208 GB, free: 32.09 MB / 0.67 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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:27628: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:27629:234: error: use of undeclared identifier 'tmpMeta' res[0] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure8_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:27636: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:27637:234: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure9_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 */; ^ ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.c:28090: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:28091:235: error: use of undeclared identifier 'tmpMeta' res[2] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure10_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:28094: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:28095:235: error: use of undeclared identifier 'tmpMeta' res[3] = omc_Modelica_Math_Nonlinear_solveOneNonlinearEquation(threadData, (modelica_fnptr) mmc_mk_box2(0,closure11_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 */; ^ 2 warnings and 8 errors generated. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState_02nls.o] Error 1