Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.036/2.036, allocations: 248.6 MB / 255.9 MB, free: 7.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001745/0.001744, allocations: 191 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 90.52 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4618/0.4631, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.6768, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.314/5.991, allocations: 2.182 GB / 3.065 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/5.991, allocations: 86.75 kB / 3.065 GB, free: 186.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 8.025/14.02, allocations: 1.727 GB / 4.792 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/14.02, allocations: 8 kB / 4.792 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/14.02, allocations: 192.9 kB / 4.792 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/14.02, allocations: 1.088 MB / 4.793 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/14.02, allocations: 16 kB / 4.793 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/14.02, allocations: 36 kB / 4.793 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001313/14.02, allocations: 493.7 kB / 4.794 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/14.02, allocations: 0.686 MB / 4.794 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/14.02, allocations: 7.938 kB / 4.794 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/14.02, allocations: 4 kB / 4.794 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/14.02, allocations: 12 kB / 4.794 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00627/14.03, allocations: 4.672 MB / 4.799 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/14.03, allocations: 450.2 kB / 4.799 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/14.03, allocations: 253.2 kB / 4.8 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/14.03, allocations: 202.1 kB / 4.8 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/14.03, allocations: 261.1 kB / 4.8 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.697e-06/14.03, allocations: 0 / 4.8 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001771/14.04, allocations: 0.4961 MB / 4.801 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/14.04, allocations: 89.03 kB / 4.801 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/14.04, allocations: 0.8713 MB / 4.801 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/14.04, allocations: 29.7 kB / 4.801 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/14.04, allocations: 333 kB / 4.802 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/14.04, allocations: 102.5 kB / 4.802 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/14.04, allocations: 0 / 4.802 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/14.04, allocations: 333.9 kB / 4.802 GB, free: 117 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/14.04, allocations: 196.8 kB / 4.802 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/14.04, allocations: 0.496 MB / 4.803 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/14.04, allocations: 274.1 kB / 4.803 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/14.04, allocations: 0 / 4.803 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00154/14.04, allocations: 0.6366 MB / 4.804 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004732/14.04, allocations: 2.093 MB / 4.806 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/14.04, allocations: 4 kB / 4.806 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/14.04, allocations: 12 kB / 4.806 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/14.04, allocations: 124 kB / 4.806 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/14.04, allocations: 11.94 kB / 4.806 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/14.04, allocations: 87.41 kB / 4.806 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/14.04, allocations: 27.98 kB / 4.806 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/14.04, allocations: 4 kB / 4.806 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001241/14.05, allocations: 415.3 kB / 4.806 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/14.05, allocations: 4 kB / 4.806 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/14.05, allocations: 8.656 kB / 4.806 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/14.05, allocations: 119.8 kB / 4.807 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/14.05, allocations: 8 kB / 4.807 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/14.05, allocations: 79.59 kB / 4.807 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/14.05, allocations: 23.98 kB / 4.807 GB, free: 112.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002154/14.05, allocations: 120.8 kB / 4.807 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/14.05, allocations: 102.9 kB / 4.807 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/14.05, allocations: 457.2 kB / 4.807 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/14.05, allocations: 4 kB / 4.807 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/14.05, allocations: 0 / 4.807 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/14.05, allocations: 15.92 kB / 4.807 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/14.05, allocations: 1.277 MB / 4.809 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/14.05, allocations: 4 kB / 4.809 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/14.05, allocations: 71.88 kB / 4.809 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/14.05, allocations: 4 kB / 4.809 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/14.05, allocations: 8 kB / 4.809 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-06/14.05, allocations: 7.922 kB / 4.809 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/14.05, allocations: 4 kB / 4.809 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001013/14.06, allocations: 0.6407 MB / 4.809 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001183/14.06, allocations: 1.077 MB / 4.81 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/14.06, allocations: 207.9 kB / 4.811 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/14.06, allocations: 4 kB / 4.811 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/14.06, allocations: 51.8 kB / 4.811 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/14.06, allocations: 35.86 kB / 4.811 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/14.06, allocations: 12 kB / 4.811 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001384/14.06, allocations: 0.6845 MB / 4.811 GB, free: 107 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004519/14.06, allocations: 0.6322 MB / 4.812 GB, free: 106.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/14.07, allocations: 1.032 MB / 4.813 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001678/14.07, allocations: 0.7332 MB / 4.814 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/14.07, allocations: 0 / 4.814 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004484/14.07, allocations: 183.8 kB / 4.814 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/14.07, allocations: 371.9 kB / 4.814 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/14.08, allocations: 1.371 MB / 4.816 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/14.08, allocations: 1.278 MB / 4.817 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/14.08, allocations: 3.938 kB / 4.817 GB, free: 101.4 MB / 0.8698 GB