Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.132/2.132, allocations: 248.6 MB / 255.9 MB, free: 7.215 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.001668/0.001668, allocations: 184.3 kB / 315.1 MB, free: 4.324 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.905/1.905, allocations: 205.1 MB / 0.5658 GB, free: 424 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.001332/0.001332, allocations: 87.28 kB / 0.67 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4463/0.4477, allocations: 112.4 MB / 0.7797 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.658, allocations: 106.2 MB / 0.8835 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/2.206, allocations: 415.2 MB / 1.289 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/2.206, allocations: 89.22 kB / 1.289 GB, free: 251.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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 6.213/8.419, allocations: 1.311 GB / 2.6 GB, free: 141.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/8.419, allocations: 7.781 kB / 2.6 GB, free: 141.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/8.424, allocations: 0.5513 MB / 2.601 GB, free: 141.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02108/8.445, allocations: 4.354 MB / 2.605 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/8.445, allocations: 50.91 kB / 2.605 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000661/8.446, allocations: 117.8 kB / 2.605 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004739/8.451, allocations: 1.628 MB / 2.607 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/8.455, allocations: 1.842 MB / 2.608 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/8.455, allocations: 12.16 kB / 2.608 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/8.455, allocations: 3.938 kB / 2.608 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/8.455, allocations: 43.22 kB / 2.608 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/8.477, allocations: 11.52 MB / 2.62 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/8.48, allocations: 1.21 MB / 2.621 GB, free: 134.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/8.481, allocations: 0.9149 MB / 2.622 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00873/8.49, allocations: 3.355 MB / 2.625 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/8.492, allocations: 0.6431 MB / 2.626 GB, free: 132.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 4.138e-06/8.492, allocations: 0 / 2.626 GB, free: 132.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.007254/8.499, allocations: 2.027 MB / 2.628 GB, free: 132.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/8.499, allocations: 69.53 kB / 2.628 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/8.504, allocations: 2.232 MB / 2.63 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004481/8.504, allocations: 35.42 kB / 2.63 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009054/8.505, allocations: 0.8335 MB / 2.631 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/8.506, allocations: 338.3 kB / 2.631 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/8.506, allocations: 0 / 2.631 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001167/8.506, allocations: 363.8 kB / 2.631 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/8.507, allocations: 0.5437 MB / 2.632 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/8.509, allocations: 1.298 MB / 2.633 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/8.513, allocations: 0.8587 MB / 2.634 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/8.513, allocations: 6.562 kB / 2.634 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.008285/8.521, allocations: 2.471 MB / 2.636 GB, free: 129.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001391/8.522, allocations: 5.9 MB / 2.642 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/8.522, allocations: 17.25 kB / 2.642 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/8.524, allocations: 441.1 kB / 2.643 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/8.527, allocations: 287.4 kB / 2.643 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/8.53, allocations: 2.07 MB / 2.645 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/8.534, allocations: 224.8 kB / 2.645 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/8.534, allocations: 86.88 kB / 2.645 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/8.534, allocations: 6.719 kB / 2.645 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006303/8.541, allocations: 2.059 MB / 2.647 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/8.541, allocations: 15.56 kB / 2.647 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/8.542, allocations: 408.7 kB / 2.648 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/8.545, allocations: 285.8 kB / 2.648 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009722/8.554, allocations: 5.389 MB / 2.653 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/8.558, allocations: 187.2 kB / 2.653 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/8.559, allocations: 78.67 kB / 2.653 GB, free: 119.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.000528/8.559, allocations: 156.1 kB / 2.654 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/8.56, allocations: 281 kB / 2.654 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0079/8.568, allocations: 2.33 MB / 2.656 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/8.568, allocations: 15.55 kB / 2.656 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/8.568, allocations: 1.469 kB / 2.656 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004917/8.573, allocations: 1.911 MB / 2.658 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/8.584, allocations: 3.927 MB / 2.662 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/8.584, allocations: 3.375 kB / 2.662 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/8.586, allocations: 175.1 kB / 2.662 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/8.587, allocations: 387.8 kB / 2.662 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/8.588, allocations: 23.41 kB / 2.662 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/8.59, allocations: 1.914 MB / 2.664 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/8.59, allocations: 5.094 kB / 2.664 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00745/8.598, allocations: 2.911 MB / 2.667 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009566/8.607, allocations: 4.147 MB / 2.671 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/8.609, allocations: 498.2 kB / 2.672 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009916/8.61, allocations: 3.938 kB / 2.672 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/8.614, allocations: 120.4 kB / 2.672 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/8.614, allocations: 84.69 kB / 2.672 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/8.614, allocations: 43.98 kB / 2.672 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.003937/8.618, allocations: 1.703 MB / 2.674 GB, free: 115.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01119/8.629, allocations: 1.644 MB / 2.675 GB, free: 115.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002955/8.632, allocations: 1.051 MB / 2.676 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007166/8.64, allocations: 2.717 MB / 2.679 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/8.64, allocations: 0 / 2.679 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/8.642, allocations: 0.6861 MB / 2.68 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009226/8.651, allocations: 1.014 MB / 2.681 GB, free: 114.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/8.664, allocations: 4.062 MB / 2.684 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003198/8.667, allocations: 2.336 MB / 2.687 GB, free: 113.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.303e-06/8.668, allocations: 0 / 2.687 GB, free: 113.1 MB / 0.9011 GB