Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") translateModel(HelmholtzMedia.Examples.BranchingDynamicPipes,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001215, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.00132/0.00132, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04726/0.04726, allocations: 9.108 MB / 279.5 MB, free: 3.02 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 67.91 kB / 338.7 MB, free: 7.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2542, allocations: 48.16 MB / 386.9 MB, free: 51.24 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 0.9514/1.206, allocations: 454 MB / 0.8211 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7338/1.94, allocations: 381.3 MB / 1.193 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/1.944, allocations: 107.4 kB / 1.194 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0134/1.957, allocations: 5.509 MB / 1.199 GB, free: 9.766 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.1107/2.068, allocations: 45.06 MB / 1.243 GB, free: 12.64 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.BranchingDynamicPipes.pipe2.heatTransfer.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.6875/2.755, allocations: 49.18 MB / 1.291 GB, free: 24.21 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02144/2.777, allocations: 19.61 MB / 1.31 GB, free: 24.19 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008291/2.785, allocations: 3.962 MB / 1.314 GB, free: 23.89 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01659/2.802, allocations: 7.356 MB / 1.321 GB, free: 23.89 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08267/2.884, allocations: 68.04 MB / 1.388 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002687/2.887, allocations: 0.7109 MB / 1.388 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1697/3.057, allocations: 85.97 MB / 1.472 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005636/3.062, allocations: 3.237 MB / 1.475 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01263/3.075, allocations: 5.086 MB / 1.48 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.1386/3.214, allocations: 45.46 MB / 1.525 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/3.214, allocations: 4 kB / 1.525 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/3.214, allocations: 0 / 1.525 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000371/3.214, allocations: 0 / 1.525 GB, free: 4.594 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2409 * Number of variables: 2409 Notification: Performance of Generate backend data structure: time 0.05059/3.265, allocations: 15.28 MB / 1.54 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/3.265, allocations: 12.03 kB / 1.54 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/3.276, allocations: 1.654 MB / 1.541 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/3.292, allocations: 8.375 MB / 1.55 GB, free: 11.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008262/3.293, allocations: 0.595 MB / 1.55 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/3.296, allocations: 0.6388 MB / 1.551 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03644/3.332, allocations: 14.92 MB / 1.565 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002722/3.333, allocations: 19.84 kB / 1.565 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002426/3.335, allocations: 262.6 kB / 1.566 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00125/3.336, allocations: 1.046 MB / 1.567 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0394/3.376, allocations: 15.61 MB / 1.582 GB, free: 10.45 MB / 0.9512 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 1.067/4.443, allocations: 57.57 MB / 1.638 GB, free: 150.1 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/4.46, allocations: 9.83 MB / 1.648 GB, free: 149.9 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01087/4.471, allocations: 7.057 MB / 1.655 GB, free: 149.9 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9916/5.463, allocations: 335.4 MB / 1.982 GB, free: 281.9 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/5.463, allocations: 110.7 kB / 1.982 GB, free: 281.9 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004007/5.467, allocations: 0.7059 MB / 1.983 GB, free: 281.9 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1018): time 1.821e-05/5.467, allocations: 0 / 1.983 GB, free: 281.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=1120): time 0.1945/5.662, allocations: 64.32 MB / 2.046 GB, free: 278.1 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/5.662, allocations: 129.3 kB / 2.046 GB, free: 278 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005134/5.667, allocations: 3.994 MB / 2.05 GB, free: 277.7 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001701/5.669, allocations: 160.3 kB / 2.05 GB, free: 277.7 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/5.67, allocations: 2.796 MB / 2.053 GB, free: 276.4 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.003567/5.674, allocations: 3.695 MB / 2.056 GB, free: 274 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002928/5.677, allocations: 1.812 MB / 2.058 GB, free: 273.9 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/5.677, allocations: 302 kB / 2.058 GB, free: 273.6 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/5.687, allocations: 7.044 MB / 2.065 GB, free: 273.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/5.698, allocations: 8.73 MB / 2.074 GB, free: 271.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02283/5.721, allocations: 16.31 MB / 2.09 GB, free: 269.3 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.347e-05/5.721, allocations: 12 kB / 2.09 GB, free: 269.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.03416/5.755, allocations: 19.54 MB / 2.109 GB, free: 258.9 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/5.755, allocations: 21.94 kB / 2.109 GB, free: 258.9 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.952e-05/5.755, allocations: 44.09 kB / 2.109 GB, free: 258.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02271/5.778, allocations: 7.292 MB / 2.116 GB, free: 254.4 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008083/5.786, allocations: 1.886 MB / 2.118 GB, free: 253 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525/7.311, allocations: 324.7 MB / 2.435 GB, free: 0.601 GB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008913/7.32, allocations: 0.6085 MB / 2.435 GB, free: 0.6004 GB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/7.322, allocations: 379.9 kB / 2.436 GB, free: 0.6 GB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01433/7.336, allocations: 8.945 MB / 2.444 GB, free: 0.5913 GB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01208/7.349, allocations: 8.434 MB / 2.453 GB, free: 0.5825 GB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02369/7.372, allocations: 15.66 MB / 2.468 GB, free: 0.5666 GB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.542e-05/7.372, allocations: 12 kB / 2.468 GB, free: 0.5665 GB / 1.092 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.03773/7.41, allocations: 19.11 MB / 2.487 GB, free: 0.5481 GB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/7.41, allocations: 24.78 kB / 2.487 GB, free: 0.548 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-05/7.41, allocations: 44.06 kB / 2.487 GB, free: 0.548 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0155/7.426, allocations: 5.745 MB / 2.492 GB, free: 0.5423 GB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/7.434, allocations: 1.896 MB / 2.494 GB, free: 0.5404 GB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372/8.806, allocations: 327.2 MB / 2.814 GB, free: 210.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/8.815, allocations: 0.6085 MB / 2.814 GB, free: 209.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/8.816, allocations: 367.9 kB / 2.815 GB, free: 209.1 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 185 * Number of states: 0 () * Number of discrete variables: 74 (boundary4.medium.sat.vap.phase,boundary4.medium.sat.liq.phase,boundary4.medium.state.phase,pipe4.statesFM[7].phase,pipe4.statesFM[6].phase,pipe4.statesFM[5].phase,pipe4.statesFM[4].phase,pipe4.statesFM[3].phase,pipe4.statesFM[2].phase,pipe4.statesFM[1].phase,pipe4.mediums[5].sat.vap.phase,pipe4.mediums[5].sat.liq.phase,pipe4.mediums[4].sat.vap.phase,pipe4.mediums[4].sat.liq.phase,pipe4.mediums[3].sat.vap.phase,pipe4.mediums[3].sat.liq.phase,pipe4.mediums[2].sat.vap.phase,pipe4.mediums[2].sat.liq.phase,pipe4.mediums[1].sat.vap.phase,pipe4.mediums[1].sat.liq.phase,pipe3.statesFM[7].phase,pipe3.statesFM[6].phase,pipe3.statesFM[5].phase,pipe3.statesFM[4].phase,pipe3.statesFM[3].phase,pipe3.statesFM[2].phase,pipe3.statesFM[1].phase,pipe3.mediums[5].sat.vap.phase,pipe3.mediums[5].sat.liq.phase,pipe3.mediums[4].sat.vap.phase,pipe3.mediums[4].sat.liq.phase,pipe3.mediums[3].sat.vap.phase,pipe3.mediums[3].sat.liq.phase,pipe3.mediums[2].sat.vap.phase,pipe3.mediums[2].sat.liq.phase,pipe3.mediums[1].sat.vap.phase,pipe3.mediums[1].sat.liq.phase,pipe2.statesFM[5].phase,pipe2.statesFM[4].phase,pipe2.statesFM[3].phase,pipe2.statesFM[2].phase,pipe2.statesFM[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe2.mediums[5].sat.vap.phase,pipe2.mediums[5].sat.liq.phase,pipe2.mediums[4].sat.vap.phase,pipe2.mediums[4].sat.liq.phase,pipe2.mediums[3].sat.vap.phase,pipe2.mediums[3].sat.liq.phase,pipe2.mediums[2].sat.vap.phase,pipe2.mediums[2].sat.liq.phase,pipe2.mediums[1].sat.vap.phase,pipe2.mediums[1].sat.liq.phase,pipe1.statesFM[7].phase,pipe1.statesFM[6].phase,pipe1.statesFM[5].phase,pipe1.statesFM[4].phase,pipe1.statesFM[3].phase,pipe1.statesFM[2].phase,pipe1.statesFM[1].phase,pipe1.mediums[5].sat.vap.phase,pipe1.mediums[5].sat.liq.phase,pipe1.mediums[4].sat.vap.phase,pipe1.mediums[4].sat.liq.phase,pipe1.mediums[3].sat.vap.phase,pipe1.mediums[3].sat.liq.phase,pipe1.mediums[2].sat.vap.phase,pipe1.mediums[2].sat.liq.phase,pipe1.mediums[1].sat.vap.phase,pipe1.mediums[1].sat.liq.phase,boundary1.medium.sat.vap.phase,boundary1.medium.sat.liq.phase,boundary1.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 837 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 26 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,17), (18,89)} Notification: Performance of prepare postOptimizeDAE: time 0.002203/8.818, allocations: 0.7053 MB / 2.815 GB, free: 208.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/8.82, allocations: 0.6134 MB / 2.816 GB, free: 207.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03581/8.856, allocations: 28.77 MB / 2.844 GB, free: 178.8 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02632/8.882, allocations: 17.77 MB / 2.861 GB, free: 161 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-05/8.882, allocations: 8 kB / 2.861 GB, free: 161 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02769/8.91, allocations: 17.69 MB / 2.879 GB, free: 143.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05195/8.962, allocations: 32.44 MB / 2.91 GB, free: 110.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/8.962, allocations: 0 / 2.91 GB, free: 110.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.218/9.18, allocations: 2.821 MB / 2.913 GB, free: 0.6828 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004497/9.185, allocations: 1.387 MB / 2.914 GB, free: 0.6826 GB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001677/9.186, allocations: 285.3 kB / 2.915 GB, free: 0.6826 GB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02767/9.214, allocations: 52.92 MB / 2.966 GB, free: 0.6376 GB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/9.214, allocations: 4.656 kB / 2.966 GB, free: 0.6376 GB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04157/9.256, allocations: 26.88 MB / 2.993 GB, free: 0.6313 GB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/9.258, allocations: 0.8211 MB / 2.993 GB, free: 0.6311 GB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002177/9.26, allocations: 214.5 kB / 2.994 GB, free: 0.631 GB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006068/9.266, allocations: 0.5247 MB / 2.994 GB, free: 0.6309 GB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001991/9.268, allocations: 0.8392 MB / 2.995 GB, free: 0.6308 GB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007591/9.269, allocations: 289.9 kB / 2.995 GB, free: 0.6307 GB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003277/9.272, allocations: 2.684 MB / 2.998 GB, free: 0.6298 GB / 1.092 GB Notification: Performance of sort global known variables: time 2.41e-07/9.272, allocations: 0 / 2.998 GB, free: 0.6298 GB / 1.092 GB Notification: Performance of remove unused functions: time 0.03758/9.31, allocations: 14.68 MB / 3.012 GB, free: 0.6291 GB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 62 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 102 (pipe1.statesFM[7].phase,pipe3.statesFM[1].phase,pipe3.statesFM[7].phase,pipe4.statesFM[1].phase,pipe1.statesFM[1].phase,pipe4.statesFM[7].phase,$cse241.phase,$cse242.phase,$cse244.phase,$cse247.phase,$cse250.phase,$cse253.phase,$cse256.phase,$cse264.phase,$cse265.phase,$cse269.phase,$cse272.phase,$cse275.phase,$cse278.phase,$cse281.phase,$cse301.phase,$cse304.phase,$cse307.phase,$cse310.phase,$cse313.phase,$cse321.phase,$cse322.phase,$cse325.phase,$cse328.phase,$cse331.phase,$cse334.phase,$cse337.phase,$cse345.phase,$cse346.phase,$cse347.phase,$cse348.phase,boundary1.medium.state.phase,pipe1.mediums[1].sat.liq.phase,pipe1.mediums[1].sat.vap.phase,pipe1.mediums[2].sat.liq.phase,pipe1.mediums[2].sat.vap.phase,pipe1.mediums[3].sat.liq.phase,pipe1.mediums[3].sat.vap.phase,pipe1.mediums[4].sat.liq.phase,pipe1.mediums[4].sat.vap.phase,pipe1.mediums[5].sat.liq.phase,pipe1.mediums[5].sat.vap.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.mediums[1].sat.liq.phase,pipe2.mediums[1].sat.vap.phase,pipe2.mediums[2].sat.liq.phase,pipe2.mediums[2].sat.vap.phase,pipe2.mediums[3].sat.liq.phase,pipe2.mediums[3].sat.vap.phase,pipe2.mediums[4].sat.liq.phase,pipe2.mediums[4].sat.vap.phase,pipe2.mediums[5].sat.liq.phase,pipe2.mediums[5].sat.vap.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.mediums[1].sat.liq.phase,pipe3.mediums[1].sat.vap.phase,pipe3.mediums[2].sat.liq.phase,pipe3.mediums[2].sat.vap.phase,pipe3.mediums[3].sat.liq.phase,pipe3.mediums[3].sat.vap.phase,pipe3.mediums[4].sat.liq.phase,pipe3.mediums[4].sat.vap.phase,pipe3.mediums[5].sat.liq.phase,pipe3.mediums[5].sat.vap.phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.mediums[1].sat.liq.phase,pipe4.mediums[1].sat.vap.phase,pipe4.mediums[2].sat.liq.phase,pipe4.mediums[2].sat.vap.phase,pipe4.mediums[3].sat.liq.phase,pipe4.mediums[3].sat.vap.phase,pipe4.mediums[4].sat.liq.phase,pipe4.mediums[4].sat.vap.phase,pipe4.mediums[5].sat.liq.phase,pipe4.mediums[5].sat.vap.phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.state.phase,boundary4.medium.sat.liq.phase,boundary4.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (860): * Single equations (assignments): 760 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 53 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 22 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.05174/9.361, allocations: 13.57 MB / 3.025 GB, free: 0.6275 GB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.1948/9.556, allocations: 91.49 MB / 3.115 GB, free: 0.5589 GB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/9.556, allocations: 4 kB / 3.115 GB, free: 0.5588 GB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.02513/9.581, allocations: 13.23 MB / 3.128 GB, free: 0.5474 GB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02252/9.604, allocations: 4.206 MB / 3.132 GB, free: 0.5448 GB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04398/9.648, allocations: 26.29 MB / 3.157 GB, free: 0.5238 GB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00536/9.653, allocations: 5.801 MB / 3.163 GB, free: 0.5195 GB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003611/9.657, allocations: 0.6975 MB / 3.164 GB, free: 0.5189 GB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/9.657, allocations: 0 / 3.164 GB, free: 0.5189 GB / 1.092 GB Notification: Performance of Templates: time 1.913/11.57, allocations: 1.664 GB / 4.828 GB, free: 423.7 MB / 1.092 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9092:154: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsSecond_24funDERf_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9093:147: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsSecond_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9096:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9097:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9261:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9262:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9265:141: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderh_5Fp_24funDERf_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9266:134: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderh_5Fp_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9697:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9698:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9701:33: error: use of undeclared identifier 'MM_' fl_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9702:26: error: use of undeclared identifier 'MM_' fl_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9705:33: error: use of undeclared identifier 'MM_' fv_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9706:26: error: use of undeclared identifier 'MM_' fv_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9709:141: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderp_5Fh_24funDERf_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9710:134: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderp_5Fh_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9713:142: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderp_5Fh_24funDERfl_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9714:135: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderp_5Fh_24funDERfl_.d_crit_ = division(MM_,9.411847733105218e-05,!_initial,"9.411847733105218e-05"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:9717:142: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderp_5Fh_24funDERfv_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.o] Error 1