Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.296/2.296, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001516/0.001516, allocations: 189.2 kB / 490.8 MB, free: 1.93 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.909/1.909, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 99.73 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.723/0.7239, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/1.077, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9468/2.024, allocations: 419.7 MB / 1.622 GB, free: 11.71 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/2.024, allocations: 89.95 kB / 1.622 GB, free: 11.67 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.494/3.518, allocations: 463.2 MB / 2.074 GB, free: 127.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/3.518, allocations: 8 kB / 2.074 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/3.519, allocations: 170.1 kB / 2.074 GB, free: 127.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/3.522, allocations: 1.422 MB / 2.075 GB, free: 126 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/3.522, allocations: 28 kB / 2.076 GB, free: 126 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/3.522, allocations: 55.91 kB / 2.076 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001519/3.524, allocations: 0.5858 MB / 2.076 GB, free: 125.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/3.526, allocations: 0.8084 MB / 2.077 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/3.526, allocations: 0 / 2.077 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/3.526, allocations: 4 kB / 2.077 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/3.526, allocations: 37.98 kB / 2.077 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007086/3.533, allocations: 4.316 MB / 2.081 GB, free: 119.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/3.534, allocations: 471.3 kB / 2.082 GB, free: 119.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/3.534, allocations: 241.7 kB / 2.082 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/3.535, allocations: 0.5064 MB / 2.082 GB, free: 118.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004224/3.535, allocations: 334.9 kB / 2.083 GB, free: 118.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 3.316e-06/3.535, allocations: 0 / 2.083 GB, free: 118.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.003965/3.539, allocations: 1.487 MB / 2.084 GB, free: 116.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/3.539, allocations: 136.9 kB / 2.084 GB, free: 116.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/3.54, allocations: 0.8126 MB / 2.085 GB, free: 115.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/3.54, allocations: 29.7 kB / 2.085 GB, free: 115.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/3.541, allocations: 438.7 kB / 2.085 GB, free: 115.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/3.541, allocations: 165.6 kB / 2.086 GB, free: 115 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/3.541, allocations: 4 kB / 2.086 GB, free: 115 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/3.541, allocations: 329.9 kB / 2.086 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/3.541, allocations: 201.3 kB / 2.086 GB, free: 114.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/3.542, allocations: 402.4 kB / 2.087 GB, free: 114 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/3.542, allocations: 278 kB / 2.087 GB, free: 113.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/3.542, allocations: 4.438 kB / 2.087 GB, free: 113.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001369/3.544, allocations: 0.7429 MB / 2.088 GB, free: 113 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/3.544, allocations: 1.489 MB / 2.089 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/3.544, allocations: 4 kB / 2.089 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/3.544, allocations: 137.6 kB / 2.089 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/3.545, allocations: 115.8 kB / 2.089 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/3.546, allocations: 2.156 MB / 2.091 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/3.548, allocations: 79.77 kB / 2.091 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/3.548, allocations: 36.05 kB / 2.091 GB, free: 108.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/3.548, allocations: 4 kB / 2.091 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/3.549, allocations: 0.6175 MB / 2.092 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/3.549, allocations: 4 kB / 2.092 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/3.549, allocations: 109.9 kB / 2.092 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/3.549, allocations: 103.8 kB / 2.092 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/3.551, allocations: 2.167 MB / 2.094 GB, free: 105.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009989/3.552, allocations: 55.86 kB / 2.094 GB, free: 105.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/3.552, allocations: 32.05 kB / 2.094 GB, free: 105.5 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.0002318/3.552, allocations: 154.5 kB / 2.095 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/3.552, allocations: 110.7 kB / 2.095 GB, free: 105.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/3.554, allocations: 0.6839 MB / 2.095 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/3.554, allocations: 8 kB / 2.095 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/3.554, allocations: 4 kB / 2.095 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009241/3.555, allocations: 0.6374 MB / 2.096 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/3.558, allocations: 1.669 MB / 2.098 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/3.558, allocations: 7.906 kB / 2.098 GB, free: 102.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/3.558, allocations: 76.02 kB / 2.098 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/3.559, allocations: 125.8 kB / 2.098 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/3.559, allocations: 11.98 kB / 2.098 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/3.56, allocations: 2.155 MB / 2.1 GB, free: 99.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/3.56, allocations: 0 / 2.1 GB, free: 99.57 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001628/3.562, allocations: 1.122 MB / 2.101 GB, free: 98.39 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002172/3.564, allocations: 1.845 MB / 2.103 GB, free: 96.49 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007799/3.565, allocations: 280 kB / 2.103 GB, free: 96.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/3.565, allocations: 7.938 kB / 2.103 GB, free: 96.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/3.566, allocations: 31.97 kB / 2.103 GB, free: 96.16 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/3.566, allocations: 35.92 kB / 2.103 GB, free: 96.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/3.566, allocations: 24.11 kB / 2.103 GB, free: 96.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009216/3.567, allocations: 0.632 MB / 2.104 GB, free: 95.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003829/3.571, allocations: 0.7459 MB / 2.105 GB, free: 94.71 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.001262/3.572, allocations: 0.5987 MB / 2.105 GB, free: 94.11 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001813/3.574, allocations: 1.14 MB / 2.106 GB, free: 92.94 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/3.574, allocations: 0 / 2.106 GB, free: 92.94 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/3.575, allocations: 424.3 kB / 2.107 GB, free: 92.51 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/3.577, allocations: 467.5 kB / 2.107 GB, free: 92.06 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/3.58, allocations: 1.471 MB / 2.109 GB, free: 90.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/3.581, allocations: 1.242 MB / 2.11 GB, free: 89.27 MB / 1.151 GB Notification: Performance of SimCode: time 1.342e-06/3.581, allocations: 4 kB / 2.11 GB, free: 89.27 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerPolynomial.fmu > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)