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.00165/0.00165, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.002629/0.00263, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.406/1.406, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04214/0.04214, allocations: 9.086 MB / 279.2 MB, free: 12.34 MB / 238.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.001436/0.001436, allocations: 63.91 kB / 338.2 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.0927, allocations: 48.17 MB / 386.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 1.398/1.491, allocations: 454.8 MB / 0.8214 GB, free: 432 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.9271/2.418, allocations: 378.9 MB / 1.191 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004441/2.422, allocations: 124.5 kB / 1.192 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01237/2.435, allocations: 5.185 MB / 1.197 GB, free: 7.289 MB / 0.6856 GB [/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.1029/2.538, allocations: 41.62 MB / 1.237 GB, free: 11.07 MB / 0.7169 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.1298/2.668, allocations: 44.59 MB / 1.281 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02076/2.688, allocations: 19.65 MB / 1.3 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006629/2.695, allocations: 3.957 MB / 1.304 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01476/2.71, allocations: 7.699 MB / 1.311 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5988/3.309, allocations: 72.93 MB / 1.383 GB, free: 91.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003956/3.313, allocations: 0.7048 MB / 1.383 GB, free: 91.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1504/3.463, allocations: 87.63 MB / 1.469 GB, free: 91.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005971/3.469, allocations: 3.245 MB / 1.472 GB, free: 91.04 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01372/3.483, allocations: 5.089 MB / 1.477 GB, free: 91.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.06081/3.544, allocations: 29.38 MB / 1.506 GB, free: 85.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/3.544, allocations: 0 / 1.506 GB, free: 85.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.305e-06/3.544, allocations: 0 / 1.506 GB, free: 85.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004256/3.544, allocations: 1.062 kB / 1.506 GB, free: 85.75 MB / 0.8419 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.04623/3.59, allocations: 15.28 MB / 1.521 GB, free: 74.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/3.591, allocations: 8.031 kB / 1.521 GB, free: 74.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/3.601, allocations: 1.654 MB / 1.522 GB, free: 73.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/3.617, allocations: 8.379 MB / 1.53 GB, free: 67.83 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007737/3.618, allocations: 0.5905 MB / 1.531 GB, free: 67.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/3.622, allocations: 0.6381 MB / 1.532 GB, free: 67.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03258/3.654, allocations: 14.92 MB / 1.546 GB, free: 56.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002539/3.654, allocations: 22.25 kB / 1.546 GB, free: 56.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002299/3.657, allocations: 257.9 kB / 1.546 GB, free: 56.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009149/3.658, allocations: 1.045 MB / 1.547 GB, free: 55.32 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03141/3.689, allocations: 15.62 MB / 1.563 GB, free: 39.75 MB / 0.8419 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.09131/3.78, allocations: 57.24 MB / 1.619 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/3.8, allocations: 9.828 MB / 1.628 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01316/3.813, allocations: 7.053 MB / 1.635 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7673/4.58, allocations: 335.4 MB / 1.963 GB, free: 386.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/4.581, allocations: 111 kB / 1.963 GB, free: 386.6 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005799/4.586, allocations: 0.7265 MB / 1.963 GB, free: 386.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1018): time 2.112e-05/4.586, allocations: 0 / 1.963 GB, free: 386.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1120): time 0.1924/4.779, allocations: 64.31 MB / 2.026 GB, free: 323.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/4.779, allocations: 125.2 kB / 2.026 GB, free: 323.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/4.784, allocations: 4.003 MB / 2.03 GB, free: 319.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.002218/4.786, allocations: 161.7 kB / 2.03 GB, free: 319.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/4.788, allocations: 2.786 MB / 2.033 GB, free: 316.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.004221/4.792, allocations: 3.699 MB / 2.037 GB, free: 313 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003952/4.796, allocations: 1.814 MB / 2.039 GB, free: 311.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/4.796, allocations: 309.1 kB / 2.039 GB, free: 310.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01006/4.806, allocations: 7.04 MB / 2.046 GB, free: 303.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/4.819, allocations: 8.731 MB / 2.054 GB, free: 294.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02383/4.843, allocations: 16.31 MB / 2.07 GB, free: 277.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-05/4.843, allocations: 8 kB / 2.07 GB, free: 277.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.03872/4.882, allocations: 19.54 MB / 2.089 GB, free: 257.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/4.882, allocations: 27.94 kB / 2.089 GB, free: 257.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.217e-05/4.882, allocations: 44.16 kB / 2.089 GB, free: 257.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02253/4.904, allocations: 7.279 MB / 2.096 GB, free: 250.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008922/4.913, allocations: 1.888 MB / 2.098 GB, free: 248.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522/6.435, allocations: 324.7 MB / 2.415 GB, free: 0.5556 GB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/6.449, allocations: 1.127 MB / 2.416 GB, free: 0.5555 GB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/6.452, allocations: 378.1 kB / 2.417 GB, free: 0.5555 GB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01685/6.468, allocations: 8.936 MB / 2.425 GB, free: 0.5545 GB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01298/6.481, allocations: 8.427 MB / 2.434 GB, free: 0.5504 GB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02341/6.505, allocations: 15.66 MB / 2.449 GB, free: 0.5388 GB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001117/6.505, allocations: 12 kB / 2.449 GB, free: 0.5388 GB / 0.9669 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.04074/6.546, allocations: 19.12 MB / 2.468 GB, free: 0.5204 GB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/6.546, allocations: 25.88 kB / 2.468 GB, free: 0.5204 GB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-05/6.546, allocations: 46.44 kB / 2.468 GB, free: 0.5203 GB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/6.562, allocations: 5.727 MB / 2.473 GB, free: 0.5147 GB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008798/6.57, allocations: 1.902 MB / 2.475 GB, free: 0.5129 GB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344/7.914, allocations: 327.2 MB / 2.795 GB, free: 183.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/7.926, allocations: 1.113 MB / 2.796 GB, free: 182.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/7.929, allocations: 367.9 kB / 2.796 GB, free: 181.8 MB / 0.9669 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.005424/7.934, allocations: 0.7092 MB / 2.797 GB, free: 181.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003732/7.938, allocations: 0.6134 MB / 2.797 GB, free: 180.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3411/8.279, allocations: 28.76 MB / 2.826 GB, free: 0.5536 GB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03231/8.312, allocations: 17.76 MB / 2.843 GB, free: 0.5498 GB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-05/8.312, allocations: 7.625 kB / 2.843 GB, free: 0.5498 GB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03024/8.342, allocations: 17.69 MB / 2.86 GB, free: 0.5432 GB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06107/8.403, allocations: 32.43 MB / 2.892 GB, free: 0.5313 GB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.269e-05/8.403, allocations: 0 / 2.892 GB, free: 0.5313 GB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01439/8.418, allocations: 2.824 MB / 2.895 GB, free: 0.5312 GB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004564/8.422, allocations: 1.388 MB / 2.896 GB, free: 0.5308 GB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002399/8.425, allocations: 277.8 kB / 2.896 GB, free: 0.5307 GB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/8.452, allocations: 52.93 MB / 2.948 GB, free: 493.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/8.452, allocations: 0 / 2.948 GB, free: 493.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04726/8.5, allocations: 26.9 MB / 2.974 GB, free: 483.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002794/8.502, allocations: 0.8131 MB / 2.975 GB, free: 482.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003219/8.506, allocations: 216.8 kB / 2.975 GB, free: 482.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009408/8.515, allocations: 0.9868 MB / 2.976 GB, free: 481.9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002912/8.518, allocations: 0.8331 MB / 2.977 GB, free: 481.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001411/8.519, allocations: 287 kB / 2.977 GB, free: 481.2 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003803/8.523, allocations: 2.687 MB / 2.98 GB, free: 478.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.2e-07/8.523, allocations: 0 / 2.98 GB, free: 478.9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.05019/8.573, allocations: 14.78 MB / 2.994 GB, free: 466 MB / 0.9669 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.06843/8.642, allocations: 13.56 MB / 3.008 GB, free: 456.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.198/8.84, allocations: 91.5 MB / 3.097 GB, free: 366.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/8.84, allocations: 4 kB / 3.097 GB, free: 366.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.02645/8.867, allocations: 13.22 MB / 3.11 GB, free: 353.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02256/8.889, allocations: 4.193 MB / 3.114 GB, free: 349.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0485/8.938, allocations: 30.26 MB / 3.143 GB, free: 321.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00821/8.946, allocations: 5.792 MB / 3.149 GB, free: 315.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004511/8.95, allocations: 0.6985 MB / 3.15 GB, free: 314.6 MB / 0.9669 GB Notification: Performance of SimCode: time 1.733e-06/8.951, allocations: 0 / 3.15 GB, free: 314.6 MB / 0.9669 GB Notification: Performance of Templates: time 2.798/11.75, allocations: 1.664 GB / 4.814 GB, free: 426.9 MB / 0.9669 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipes.makefile clang++ -std=c++14 -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