Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.216/2.216, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001656/0.001656, allocations: 188.2 kB / 315.1 MB, free: 4.266 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.971/1.971, allocations: 205.1 MB / 0.5658 GB, free: 360 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.001328/0.001328, allocations: 93.55 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4666/0.468, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.6739, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.509/6.183, allocations: 2.184 GB / 3.068 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004514/6.184, allocations: 87.08 kB / 3.068 GB, free: 184.6 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 8.271/14.45, allocations: 1.74 GB / 4.808 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/14.45, allocations: 8 kB / 4.808 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/14.46, allocations: 190.5 kB / 4.808 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007495/14.46, allocations: 1.397 MB / 4.81 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/14.46, allocations: 23.98 kB / 4.81 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/14.46, allocations: 36 kB / 4.81 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/14.47, allocations: 0.5056 MB / 4.81 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/14.47, allocations: 0.7085 MB / 4.811 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/14.47, allocations: 7.844 kB / 4.811 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/14.47, allocations: 7.984 kB / 4.811 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/14.47, allocations: 12 kB / 4.811 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006132/14.47, allocations: 4.155 MB / 4.815 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/14.47, allocations: 454.9 kB / 4.815 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/14.48, allocations: 330.1 kB / 4.816 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/14.48, allocations: 198.2 kB / 4.816 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/14.48, allocations: 282.9 kB / 4.816 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.577e-06/14.48, allocations: 0 / 4.816 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001765/14.48, allocations: 0.5209 MB / 4.817 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/14.48, allocations: 89.11 kB / 4.817 GB, free: 104 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/14.48, allocations: 0.8795 MB / 4.818 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/14.48, allocations: 29.7 kB / 4.818 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/14.48, allocations: 332.2 kB / 4.818 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/14.48, allocations: 110.4 kB / 4.818 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/14.48, allocations: 3.938 kB / 4.818 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/14.48, allocations: 329.9 kB / 4.818 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/14.48, allocations: 204.9 kB / 4.819 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/14.48, allocations: 0.5121 MB / 4.819 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/14.48, allocations: 290.4 kB / 4.819 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/14.48, allocations: 4 kB / 4.819 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001622/14.48, allocations: 0.6456 MB / 4.82 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004288/14.48, allocations: 2.103 MB / 4.822 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/14.48, allocations: 8 kB / 4.822 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/14.48, allocations: 12 kB / 4.822 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/14.49, allocations: 115.8 kB / 4.822 GB, free: 98.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/14.49, allocations: 8.109 kB / 4.822 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/14.49, allocations: 107.4 kB / 4.822 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/14.49, allocations: 31.98 kB / 4.822 GB, free: 98.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/14.49, allocations: 3.938 kB / 4.822 GB, free: 98 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/14.49, allocations: 437.7 kB / 4.823 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/14.49, allocations: 8 kB / 4.823 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/14.49, allocations: 8.234 kB / 4.823 GB, free: 97.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/14.49, allocations: 111.8 kB / 4.823 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/14.49, allocations: 16.06 kB / 4.823 GB, free: 97.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/14.49, allocations: 95.59 kB / 4.823 GB, free: 97.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/14.49, allocations: 24 kB / 4.823 GB, free: 97.32 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 (55): * Single equations (assignments): 54 * 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.0002503/14.49, allocations: 128.8 kB / 4.823 GB, free: 97.19 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/14.49, allocations: 94.78 kB / 4.823 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/14.49, allocations: 495 kB / 4.824 GB, free: 96.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/14.49, allocations: 4 kB / 4.824 GB, free: 96.59 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/14.5, allocations: 0 / 4.824 GB, free: 96.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/14.5, allocations: 7.906 kB / 4.824 GB, free: 96.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/14.5, allocations: 1.355 MB / 4.825 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/14.5, allocations: 4 kB / 4.825 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/14.5, allocations: 77.3 kB / 4.825 GB, free: 95.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/14.5, allocations: 8 kB / 4.825 GB, free: 95.08 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/14.5, allocations: 7.938 kB / 4.825 GB, free: 95.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/14.5, allocations: 8 kB / 4.825 GB, free: 95.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/14.5, allocations: 3.938 kB / 4.825 GB, free: 95.06 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001117/14.5, allocations: 0.6741 MB / 4.826 GB, free: 94.31 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001257/14.5, allocations: 1.101 MB / 4.827 GB, free: 93.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/14.5, allocations: 223.8 kB / 4.827 GB, free: 92.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/14.5, allocations: 8 kB / 4.827 GB, free: 92.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/14.5, allocations: 67.77 kB / 4.827 GB, free: 92.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/14.5, allocations: 31.86 kB / 4.827 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/14.5, allocations: 12 kB / 4.827 GB, free: 92.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001369/14.51, allocations: 0.6847 MB / 4.828 GB, free: 92.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004746/14.51, allocations: 0.6673 MB / 4.828 GB, free: 91.41 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 (33): * Single equations (assignments): 31 * 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.001891/14.51, allocations: 1.105 MB / 4.83 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001882/14.51, allocations: 0.7916 MB / 4.83 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/14.51, allocations: 4.25 kB / 4.83 GB, free: 89.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/14.51, allocations: 203.7 kB / 4.831 GB, free: 89.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/14.52, allocations: 0.5315 MB / 4.831 GB, free: 88.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/14.53, allocations: 1.394 MB / 4.832 GB, free: 87.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/14.53, allocations: 1.279 MB / 4.834 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of SimCode: time 1.624e-06/14.53, allocations: 0 / 4.834 GB, free: 86.02 MB / 0.8698 GB