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.001224/0.001229, allocations: 106.5 kB / 16.41 MB, free: 6.492 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.001074/0.001074, allocations: 191 kB / 17.34 MB, free: 5.762 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04479/0.04479, allocations: 9.102 MB / 279.7 MB, free: 2.941 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.001379/0.001379, allocations: 75.45 kB / 388.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.08474, allocations: 48.18 MB / 436.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BranchingDynamicPipes): time 0.9942/1.079, allocations: 454 MB / 0.8694 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.8356/1.915, allocations: 381.3 MB / 1.242 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/1.918, allocations: 103.5 kB / 1.242 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01399/1.932, allocations: 5.506 MB / 1.247 GB, free: 6.953 MB / 0.7637 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.1059/2.038, allocations: 45.09 MB / 1.291 GB, free: 9.75 MB / 0.8106 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.6772/2.715, allocations: 49.18 MB / 1.339 GB, free: 30.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02025/2.736, allocations: 19.62 MB / 1.358 GB, free: 30.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007134/2.743, allocations: 3.957 MB / 1.362 GB, free: 30.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/2.759, allocations: 7.611 MB / 1.37 GB, free: 30.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08205/2.841, allocations: 68.02 MB / 1.436 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002868/2.844, allocations: 0.7031 MB / 1.437 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1535/2.997, allocations: 89 MB / 1.524 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005796/3.003, allocations: 3.246 MB / 1.527 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01402/3.017, allocations: 5.084 MB / 1.532 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.1288/3.146, allocations: 45.67 MB / 1.577 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/3.146, allocations: 0 / 1.577 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/3.146, allocations: 8 kB / 1.577 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004094/3.147, allocations: 0 / 1.577 GB, free: 12.61 MB / 0.9356 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.04622/3.193, allocations: 15.28 MB / 1.591 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/3.193, allocations: 8.031 kB / 1.591 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/3.203, allocations: 1.658 MB / 1.593 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/3.221, allocations: 8.5 MB / 1.601 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009062/3.222, allocations: 0.6027 MB / 1.602 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/3.225, allocations: 0.6332 MB / 1.603 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03424/3.259, allocations: 14.92 MB / 1.617 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/3.259, allocations: 15.09 kB / 1.617 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/3.261, allocations: 256.6 kB / 1.617 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/3.262, allocations: 1.044 MB / 1.618 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03357/3.296, allocations: 15.63 MB / 1.634 GB, free: 2.766 MB / 0.9825 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.3109/3.607, allocations: 57.34 MB / 1.69 GB, free: 0.6369 GB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01763/3.625, allocations: 9.837 MB / 1.699 GB, free: 0.6353 GB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0105/3.635, allocations: 7.059 MB / 1.706 GB, free: 0.6325 GB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4796/4.115, allocations: 335.3 MB / 2.034 GB, free: 288.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/4.115, allocations: 107.3 kB / 2.034 GB, free: 288.4 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003812/4.119, allocations: 0.7196 MB / 2.034 GB, free: 288.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1018): time 1.173e-05/4.119, allocations: 0 / 2.034 GB, free: 288.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=1120): time 0.1802/4.299, allocations: 64.29 MB / 2.097 GB, free: 224.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/4.299, allocations: 129.2 kB / 2.097 GB, free: 224.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/4.304, allocations: 3.996 MB / 2.101 GB, free: 220.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001667/4.306, allocations: 157.7 kB / 2.101 GB, free: 220.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/4.307, allocations: 2.792 MB / 2.104 GB, free: 217.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.003207/4.31, allocations: 3.704 MB / 2.108 GB, free: 213.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002993/4.313, allocations: 1.814 MB / 2.11 GB, free: 212 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/4.313, allocations: 301.1 kB / 2.11 GB, free: 211.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009993/4.323, allocations: 7.048 MB / 2.117 GB, free: 204.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/4.335, allocations: 8.72 MB / 2.125 GB, free: 195.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02372/4.359, allocations: 16.31 MB / 2.141 GB, free: 178.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-05/4.359, allocations: 12 kB / 2.141 GB, free: 178.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=1419) (initialization): time 0.03443/4.394, allocations: 19.54 MB / 2.16 GB, free: 158.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/4.394, allocations: 20 kB / 2.16 GB, free: 158.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.984e-05/4.394, allocations: 44 kB / 2.16 GB, free: 158.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02257/4.416, allocations: 7.265 MB / 2.167 GB, free: 151.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008122/4.425, allocations: 1.887 MB / 2.169 GB, free: 149.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3161/4.741, allocations: 129.7 MB / 2.296 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008881/4.75, allocations: 0.6242 MB / 2.297 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002708/4.752, allocations: 379.9 kB / 2.297 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01595/4.768, allocations: 8.938 MB / 2.306 GB, free: 4.762 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2662/5.035, allocations: 8.423 MB / 2.314 GB, free: 0.591 GB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03116/5.066, allocations: 15.66 MB / 2.329 GB, free: 0.5893 GB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.76e-05/5.066, allocations: 15.53 kB / 2.329 GB, free: 0.5893 GB / 1.029 GB Notification: Performance of matching and sorting (n=1419) (initialization_lambda0): time 0.0482/5.114, allocations: 19.11 MB / 2.348 GB, free: 0.5829 GB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/5.114, allocations: 25.41 kB / 2.348 GB, free: 0.5829 GB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.179e-05/5.114, allocations: 47.34 kB / 2.348 GB, free: 0.5829 GB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/5.13, allocations: 5.723 MB / 2.353 GB, free: 0.5818 GB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008454/5.138, allocations: 1.893 MB / 2.355 GB, free: 0.5816 GB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3215/5.46, allocations: 132.2 MB / 2.484 GB, free: 0.4954 GB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008881/5.469, allocations: 0.6079 MB / 2.485 GB, free: 0.4948 GB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002323/5.471, allocations: 363.9 kB / 2.485 GB, free: 0.4944 GB / 1.029 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.003898/5.475, allocations: 0.7128 MB / 2.486 GB, free: 0.4938 GB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002723/5.478, allocations: 0.6143 MB / 2.487 GB, free: 0.4935 GB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04062/5.519, allocations: 28.73 MB / 2.515 GB, free: 476.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02764/5.546, allocations: 17.77 MB / 2.532 GB, free: 458.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-05/5.546, allocations: 8 kB / 2.532 GB, free: 458.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0283/5.575, allocations: 17.69 MB / 2.549 GB, free: 441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05688/5.632, allocations: 32.04 MB / 2.581 GB, free: 409.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-05/5.632, allocations: 0 / 2.581 GB, free: 409.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01419/5.646, allocations: 2.822 MB / 2.583 GB, free: 406.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004387/5.65, allocations: 1.38 MB / 2.585 GB, free: 405 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002004/5.652, allocations: 283.8 kB / 2.585 GB, free: 404.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02657/5.679, allocations: 52.93 MB / 2.637 GB, free: 347.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.679, allocations: 3.125 kB / 2.637 GB, free: 347.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0442/5.723, allocations: 26.89 MB / 2.663 GB, free: 320.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/5.725, allocations: 0.8139 MB / 2.664 GB, free: 320.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002662/5.728, allocations: 223.9 kB / 2.664 GB, free: 319.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006976/5.735, allocations: 0.5261 MB / 2.664 GB, free: 319.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002476/5.738, allocations: 0.8402 MB / 2.665 GB, free: 318.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001167/5.739, allocations: 287.8 kB / 2.666 GB, free: 318.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003329/5.742, allocations: 2.685 MB / 2.668 GB, free: 315.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.81e-07/5.742, allocations: 4 kB / 2.668 GB, free: 315.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.04621/5.788, allocations: 15.93 MB / 2.684 GB, free: 301.2 MB / 1.029 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.06129/5.85, allocations: 15.2 MB / 2.699 GB, free: 288.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0624/5.912, allocations: 35.48 MB / 2.733 GB, free: 252.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/5.912, allocations: 0 / 2.733 GB, free: 252.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.3274/6.24, allocations: 13.22 MB / 2.746 GB, free: 0.542 GB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02658/6.266, allocations: 4.169 MB / 2.75 GB, free: 0.5418 GB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04997/6.316, allocations: 26.08 MB / 2.776 GB, free: 0.5368 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006611/6.323, allocations: 5.808 MB / 2.781 GB, free: 0.5359 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004274/6.327, allocations: 0.6906 MB / 2.782 GB, free: 0.5359 GB / 1.029 GB Notification: Performance of SimCode: time 2.244e-06/6.327, allocations: 1.422 kB / 2.782 GB, free: 0.5359 GB / 1.029 GB Notification: Performance of Templates: time 3.408/9.735, allocations: 1.686 GB / 4.468 GB, free: 0.5097 GB / 1.029 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:10382:153: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsFirst_24funDERf_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10383:146: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsFirst_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10386:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10387:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10482: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:10483:147: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24PEoS_24PsetHelmholtzDerivsSecond_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10486:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10487:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10649:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10650:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:10653: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:10654:134: error: use of undeclared identifier 'MM_' _omcQ_24HelmholtzMedia_24PExamples_24PBranchingDynamicPipes_24Ppipe1_24PMedium_24Pdensity_5Fderh_5Fp_24funDERf_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11066:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11067:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11070:33: error: use of undeclared identifier 'MM_' fl_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11071:26: error: use of undeclared identifier 'MM_' fl_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11074:33: error: use of undeclared identifier 'MM_' fv_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11075:26: error: use of undeclared identifier 'MM_' fv_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesFunctions.cpp:11078: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"); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.BranchingDynamicPipesCalcHelperMain.o] Error 1