Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",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 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 0.7819 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 91.44 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6583/0.6592, allocations: 148.4 MB / 1.066 GB, free: 166.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.947, allocations: 142.3 MB / 1.205 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9952/1.942, allocations: 418.9 MB / 1.614 GB, free: 1.176 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.943, allocations: 88.7 kB / 1.614 GB, free: 1.133 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 1.485/3.428, allocations: 463.2 MB / 2.067 GB, free: 118.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/3.428, allocations: 9 kB / 2.067 GB, free: 118.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/3.429, allocations: 166.1 kB / 2.067 GB, free: 118.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00362/3.432, allocations: 1.418 MB / 2.068 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/3.432, allocations: 31.91 kB / 2.068 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/3.433, allocations: 52 kB / 2.068 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/3.434, allocations: 0.5897 MB / 2.069 GB, free: 116.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/3.436, allocations: 0.8045 MB / 2.07 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/3.436, allocations: 4 kB / 2.07 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/3.436, allocations: 4 kB / 2.07 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/3.436, allocations: 45.92 kB / 2.07 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006009/3.442, allocations: 4.312 MB / 2.074 GB, free: 111 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/3.443, allocations: 468.8 kB / 2.074 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/3.443, allocations: 245.6 kB / 2.075 GB, free: 110.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/3.443, allocations: 0.4987 MB / 2.075 GB, free: 109.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/3.444, allocations: 338.8 kB / 2.076 GB, free: 109.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 3.126e-06/3.444, allocations: 0 / 2.076 GB, free: 109.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.003501/3.447, allocations: 1.483 MB / 2.077 GB, free: 107.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/3.447, allocations: 136.9 kB / 2.077 GB, free: 107.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/3.448, allocations: 0.8204 MB / 2.078 GB, free: 106.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/3.449, allocations: 29.7 kB / 2.078 GB, free: 106.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/3.449, allocations: 438.7 kB / 2.078 GB, free: 106.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/3.449, allocations: 161.6 kB / 2.079 GB, free: 106.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/3.449, allocations: 448 / 2.079 GB, free: 106.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.016e-05/3.449, allocations: 338 kB / 2.079 GB, free: 105.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/3.449, allocations: 193.3 kB / 2.079 GB, free: 105.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/3.45, allocations: 406.4 kB / 2.079 GB, free: 105.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/3.45, allocations: 277.2 kB / 2.08 GB, free: 104.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/3.45, allocations: 0 / 2.08 GB, free: 104.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001313/3.452, allocations: 0.7544 MB / 2.08 GB, free: 104.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/3.452, allocations: 1.49 MB / 2.082 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/3.452, allocations: 4 kB / 2.082 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/3.452, allocations: 133.6 kB / 2.082 GB, free: 102.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/3.453, allocations: 103.8 kB / 2.082 GB, free: 102.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/3.454, allocations: 2.168 MB / 2.084 GB, free: 99.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/3.455, allocations: 79.83 kB / 2.084 GB, free: 99.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/3.455, allocations: 36 kB / 2.084 GB, free: 99.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/3.455, allocations: 10.8 kB / 2.084 GB, free: 99.87 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/3.456, allocations: 0.6056 MB / 2.085 GB, free: 99.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/3.457, allocations: 4 kB / 2.085 GB, free: 99.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/3.457, allocations: 122.2 kB / 2.085 GB, free: 99.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/3.457, allocations: 107.8 kB / 2.085 GB, free: 99.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/3.459, allocations: 2.152 MB / 2.087 GB, free: 96.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/3.459, allocations: 59.84 kB / 2.087 GB, free: 96.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/3.459, allocations: 36.05 kB / 2.087 GB, free: 96.63 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 59 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002133/3.46, allocations: 150.6 kB / 2.087 GB, free: 96.47 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/3.46, allocations: 114.6 kB / 2.088 GB, free: 96.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/3.461, allocations: 0.688 MB / 2.088 GB, free: 95.66 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/3.461, allocations: 4 kB / 2.088 GB, free: 95.66 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/3.461, allocations: 4.125 kB / 2.088 GB, free: 95.65 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000849/3.462, allocations: 0.6451 MB / 2.089 GB, free: 94.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/3.465, allocations: 1.673 MB / 2.091 GB, free: 93.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/3.465, allocations: 0 / 2.091 GB, free: 93.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/3.465, allocations: 67.95 kB / 2.091 GB, free: 93.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/3.465, allocations: 133.7 kB / 2.091 GB, free: 93.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/3.465, allocations: 8 kB / 2.091 GB, free: 93.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/3.467, allocations: 2.147 MB / 2.093 GB, free: 90.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/3.467, allocations: 0 / 2.093 GB, free: 90.74 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00136/3.468, allocations: 1.13 MB / 2.094 GB, free: 89.55 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001763/3.47, allocations: 1.845 MB / 2.096 GB, free: 87.64 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/3.47, allocations: 280.2 kB / 2.096 GB, free: 87.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/3.47, allocations: 11.98 kB / 2.096 GB, free: 87.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/3.471, allocations: 39.88 kB / 2.096 GB, free: 87.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/3.471, allocations: 27.95 kB / 2.096 GB, free: 87.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/3.471, allocations: 27.98 kB / 2.096 GB, free: 87.25 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007057/3.472, allocations: 0.632 MB / 2.097 GB, free: 86.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003174/3.475, allocations: 0.7459 MB / 2.097 GB, free: 85.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000947/3.476, allocations: 0.5788 MB / 2.098 GB, free: 85.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001445/3.477, allocations: 1.143 MB / 2.099 GB, free: 84.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/3.478, allocations: 0 / 2.099 GB, free: 84.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/3.478, allocations: 421.7 kB / 2.1 GB, free: 83.68 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/3.48, allocations: 471.4 kB / 2.1 GB, free: 83.22 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/3.483, allocations: 1.467 MB / 2.101 GB, free: 81.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000714/3.483, allocations: 1.25 MB / 2.103 GB, free: 80.42 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/3.483, allocations: 0 / 2.103 GB, free: 80.42 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)