Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1",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 8.0.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 173.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 94.72 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1711/0.1719, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.5657, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.898/3.463, allocations: 2.071 GB / 3.035 GB, free: 334.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/3.464, allocations: 89.33 kB / 3.035 GB, free: 334.7 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.2819/3.746, allocations: 170.1 MB / 3.201 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/3.746, allocations: 8.5 kB / 3.201 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/3.747, allocations: 155.2 kB / 3.202 GB, free: 192.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/3.747, allocations: 0.5208 MB / 3.202 GB, free: 192 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/3.747, allocations: 8 kB / 3.202 GB, free: 192 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/3.747, allocations: 16 kB / 3.202 GB, free: 191.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003144/3.748, allocations: 205.2 kB / 3.202 GB, free: 191.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/3.748, allocations: 271.8 kB / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/3.748, allocations: 7.906 kB / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/3.748, allocations: 0 / 3.203 GB, free: 191.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/3.748, allocations: 8.656 kB / 3.203 GB, free: 191.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/3.75, allocations: 1.404 MB / 3.204 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/3.75, allocations: 148.7 kB / 3.204 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/3.75, allocations: 100.8 kB / 3.204 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/3.75, allocations: 4 kB / 3.204 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/3.75, allocations: 151.3 kB / 3.204 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/3.75, allocations: 0 / 3.204 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30): time 0.002299/3.753, allocations: 1 MB / 3.205 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/3.753, allocations: 55.39 kB / 3.205 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/3.753, allocations: 385.1 kB / 3.206 GB, free: 188 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/3.753, allocations: 29.64 kB / 3.206 GB, free: 188 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/3.753, allocations: 180.2 kB / 3.206 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/3.753, allocations: 106.5 kB / 3.206 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/3.753, allocations: 0 / 3.206 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/3.753, allocations: 350.8 kB / 3.206 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/3.753, allocations: 136.8 kB / 3.207 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/3.753, allocations: 185.5 kB / 3.207 GB, free: 187 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/3.754, allocations: 175.5 kB / 3.207 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/3.754, allocations: 0 / 3.207 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008361/3.755, allocations: 489.4 kB / 3.207 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/3.755, allocations: 7.984 kB / 3.207 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/3.755, allocations: 4 kB / 3.207 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/3.755, allocations: 80.94 kB / 3.207 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/3.755, allocations: 75.84 kB / 3.208 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/3.757, allocations: 1.689 MB / 3.209 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/3.757, allocations: 15.89 kB / 3.209 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/3.757, allocations: 12 kB / 3.209 GB, free: 184.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/3.757, allocations: 118.3 kB / 3.209 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/3.757, allocations: 47.42 kB / 3.209 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/3.758, allocations: 378.7 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/3.758, allocations: 4 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/3.758, allocations: 4 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/3.758, allocations: 8.109 kB / 3.21 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/3.759, allocations: 0.9534 MB / 3.211 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/3.759, allocations: 4.031 kB / 3.211 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/3.759, allocations: 55.97 kB / 3.211 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/3.76, allocations: 112.8 kB / 3.211 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/3.76, allocations: 3.984 kB / 3.211 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/3.761, allocations: 1.657 MB / 3.212 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/3.761, allocations: 0 / 3.212 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007441/3.762, allocations: 0.5815 MB / 3.213 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009837/3.763, allocations: 1.133 MB / 3.214 GB, free: 179 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/3.763, allocations: 156.5 kB / 3.214 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/3.763, allocations: 8 kB / 3.214 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/3.763, allocations: 19.83 kB / 3.214 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/3.763, allocations: 19.98 kB / 3.214 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/3.764, allocations: 11.98 kB / 3.214 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0002112/3.764, allocations: 283.2 kB / 3.215 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001237/3.765, allocations: 248 kB / 3.215 GB, free: 178.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/3.766, allocations: 1.042 MB / 3.216 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006127/3.767, allocations: 421.3 kB / 3.216 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/3.767, allocations: 0 / 3.216 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/3.767, allocations: 269.9 kB / 3.217 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/3.768, allocations: 212.1 kB / 3.217 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/3.769, allocations: 0.7412 MB / 3.217 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/3.769, allocations: 0.9108 MB / 3.218 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/3.769, allocations: 0 / 3.218 GB, free: 174.7 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)