Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp",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.202/2.202, allocations: 248.6 MB / 255.9 MB, free: 244 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 180.9 kB / 315.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.1 MB / 0.5658 GB, free: 25.37 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 86.12 kB / 0.67 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2848/0.286, allocations: 112.4 MB / 0.7797 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.8289, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.726/6.555, allocations: 2.183 GB / 3.067 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/6.556, allocations: 90.06 kB / 3.067 GB, free: 241.1 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 4.145/10.7, allocations: 0.9403 GB / 4.007 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/10.7, allocations: 8 kB / 4.007 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/10.7, allocations: 186.5 kB / 4.007 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/10.71, allocations: 1.393 MB / 4.009 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/10.71, allocations: 16 kB / 4.009 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/10.71, allocations: 39.98 kB / 4.009 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/10.71, allocations: 0.5017 MB / 4.009 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/10.71, allocations: 0.7122 MB / 4.01 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/10.71, allocations: 4 kB / 4.01 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/10.71, allocations: 4 kB / 4.01 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/10.71, allocations: 12 kB / 4.01 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3791/11.09, allocations: 4.161 MB / 4.014 GB, free: 300.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/11.09, allocations: 458.7 kB / 4.015 GB, free: 300.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/11.09, allocations: 327.1 kB / 4.015 GB, free: 300.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/11.09, allocations: 199.3 kB / 4.015 GB, free: 300.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/11.09, allocations: 285.1 kB / 4.015 GB, free: 300 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 5.42e-06/11.09, allocations: 0 / 4.015 GB, free: 300 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001908/11.1, allocations: 0.5207 MB / 4.016 GB, free: 300 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/11.1, allocations: 80.89 kB / 4.016 GB, free: 299.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/11.1, allocations: 0.8782 MB / 4.017 GB, free: 299.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001762/11.1, allocations: 31.23 kB / 4.017 GB, free: 299.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/11.1, allocations: 332.5 kB / 4.017 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/11.1, allocations: 111.4 kB / 4.017 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/11.1, allocations: 3.781 kB / 4.017 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/11.1, allocations: 321 kB / 4.018 GB, free: 299.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/11.1, allocations: 206.6 kB / 4.018 GB, free: 299.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/11.1, allocations: 0.5153 MB / 4.018 GB, free: 298.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/11.1, allocations: 299.9 kB / 4.019 GB, free: 298.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/11.1, allocations: 3.906 kB / 4.019 GB, free: 298.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001666/11.1, allocations: 0.6574 MB / 4.019 GB, free: 298.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004953/11.1, allocations: 2.095 MB / 4.021 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/11.1, allocations: 6.312 kB / 4.021 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/11.1, allocations: 7.656 kB / 4.021 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003959/11.11, allocations: 293.4 kB / 4.022 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004876/11.11, allocations: 6.241 MB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/11.11, allocations: 104.7 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/11.12, allocations: 24.98 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/11.12, allocations: 3.969 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/11.12, allocations: 449.9 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/11.12, allocations: 3.844 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/11.12, allocations: 7.469 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/11.12, allocations: 153.1 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/11.12, allocations: 13.92 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/11.12, allocations: 89.12 kB / 4.028 GB, free: 290.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/11.12, allocations: 25.62 kB / 4.028 GB, free: 290.8 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): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002525/11.12, allocations: 125.6 kB / 4.029 GB, free: 290.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/11.12, allocations: 95.98 kB / 4.029 GB, free: 290.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/11.12, allocations: 0.4892 MB / 4.029 GB, free: 290.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.507e-06/11.12, allocations: 3.844 kB / 4.029 GB, free: 290.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/11.12, allocations: 3.812 kB / 4.029 GB, free: 290.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/11.12, allocations: 3.844 kB / 4.029 GB, free: 290.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/11.12, allocations: 1.361 MB / 4.031 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/11.12, allocations: 0 / 4.031 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/11.13, allocations: 162.6 kB / 4.031 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/11.13, allocations: 3.688 kB / 4.031 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/11.13, allocations: 7.219 kB / 4.031 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/11.13, allocations: 6.084 MB / 4.037 GB, free: 284.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-05/11.13, allocations: 0 / 4.037 GB, free: 284.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001874/11.13, allocations: 0.6745 MB / 4.037 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001785/11.13, allocations: 1.098 MB / 4.038 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/11.14, allocations: 223.1 kB / 4.039 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/11.14, allocations: 3.625 kB / 4.039 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/11.14, allocations: 71.16 kB / 4.039 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/11.14, allocations: 30.78 kB / 4.039 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/11.14, allocations: 20.52 kB / 4.039 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001844/11.14, allocations: 0.6833 MB / 4.039 GB, free: 282.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006047/11.15, allocations: 0.6634 MB / 4.04 GB, free: 282.9 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002247/11.15, allocations: 1.096 MB / 4.041 GB, free: 282.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006491/11.16, allocations: 1.023 MB / 4.042 GB, free: 282.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/11.16, allocations: 0 / 4.042 GB, free: 282.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/11.16, allocations: 307.5 kB / 4.042 GB, free: 282.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/11.16, allocations: 0.5297 MB / 4.043 GB, free: 282.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/11.17, allocations: 1.4 MB / 4.044 GB, free: 282.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/11.17, allocations: 1.269 MB / 4.045 GB, free: 281.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.824e-06/11.17, allocations: 0 / 4.045 GB, free: 281.6 MB / 0.8698 GB