Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001043/0.001043, allocations: 187.3 kB / 316 MB, free: 3.504 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.235/1.235, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.000834/0.000834, allocations: 85.25 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3962/0.3971, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.5768, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.88/4.457, allocations: 2.191 GB / 3.075 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/4.457, allocations: 91.27 kB / 3.075 GB, free: 212.7 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.2976/4.755, allocations: 167.6 MB / 3.239 GB, free: 41.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/4.755, allocations: 8 kB / 3.239 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009494/4.756, allocations: 163.2 kB / 3.239 GB, free: 41.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/4.757, allocations: 0.4974 MB / 3.24 GB, free: 41.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/4.757, allocations: 8 kB / 3.24 GB, free: 41.13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/4.757, allocations: 20 kB / 3.24 GB, free: 41.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003356/4.757, allocations: 213.2 kB / 3.24 GB, free: 40.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/4.757, allocations: 283.7 kB / 3.24 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/4.757, allocations: 0 / 3.24 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/4.757, allocations: 0 / 3.24 GB, free: 40.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/4.757, allocations: 12.66 kB / 3.24 GB, free: 40.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/4.759, allocations: 1.4 MB / 3.242 GB, free: 39.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/4.759, allocations: 158 kB / 3.242 GB, free: 38.91 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/4.759, allocations: 100.9 kB / 3.242 GB, free: 38.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/4.759, allocations: 8 kB / 3.242 GB, free: 38.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/4.76, allocations: 147.3 kB / 3.242 GB, free: 38.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/4.76, allocations: 0 / 3.242 GB, free: 38.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002314/4.762, allocations: 0.9981 MB / 3.243 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/4.762, allocations: 51.41 kB / 3.243 GB, free: 37.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/4.762, allocations: 385 kB / 3.243 GB, free: 37.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/4.762, allocations: 33.7 kB / 3.244 GB, free: 37.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/4.762, allocations: 180.2 kB / 3.244 GB, free: 36.92 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/4.762, allocations: 98.5 kB / 3.244 GB, free: 36.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/4.762, allocations: 3.984 kB / 3.244 GB, free: 36.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/4.763, allocations: 350.8 kB / 3.244 GB, free: 36.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/4.763, allocations: 128.8 kB / 3.244 GB, free: 36.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/4.763, allocations: 193.4 kB / 3.244 GB, free: 36.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/4.763, allocations: 147.7 kB / 3.245 GB, free: 35.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/4.763, allocations: 4 kB / 3.245 GB, free: 35.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007691/4.764, allocations: 474 kB / 3.245 GB, free: 35.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/4.764, allocations: 6.188 kB / 3.245 GB, free: 35.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/4.764, allocations: 7.906 kB / 3.245 GB, free: 35.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/4.764, allocations: 84.92 kB / 3.245 GB, free: 35.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/4.765, allocations: 67.91 kB / 3.245 GB, free: 35.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/4.766, allocations: 1.693 MB / 3.247 GB, free: 33.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/4.766, allocations: 15.89 kB / 3.247 GB, free: 33.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/4.766, allocations: 16.12 kB / 3.247 GB, free: 33.52 MB / 0.8698 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 0.0001023/4.767, allocations: 116.9 kB / 3.247 GB, free: 33.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/4.767, allocations: 47.44 kB / 3.247 GB, free: 33.35 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/4.767, allocations: 383.3 kB / 3.247 GB, free: 32.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/4.767, allocations: 8 kB / 3.247 GB, free: 32.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/4.767, allocations: 0 / 3.247 GB, free: 32.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/4.767, allocations: 3.938 kB / 3.247 GB, free: 32.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/4.769, allocations: 0.9541 MB / 3.248 GB, free: 31.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/4.769, allocations: 4 kB / 3.248 GB, free: 31.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/4.769, allocations: 59.91 kB / 3.248 GB, free: 31.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/4.769, allocations: 108.8 kB / 3.249 GB, free: 31.77 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/4.77, allocations: 8 kB / 3.249 GB, free: 31.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/4.771, allocations: 1.661 MB / 3.25 GB, free: 29.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/4.771, allocations: 0 / 3.25 GB, free: 29.99 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007813/4.772, allocations: 0.577 MB / 3.251 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001066/4.773, allocations: 1.121 MB / 3.252 GB, free: 28.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/4.773, allocations: 156.5 kB / 3.252 GB, free: 28.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/4.773, allocations: 4 kB / 3.252 GB, free: 28.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/4.773, allocations: 19.92 kB / 3.252 GB, free: 28.04 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/4.773, allocations: 19.97 kB / 3.252 GB, free: 28.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/4.773, allocations: 11.98 kB / 3.252 GB, free: 28 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002484/4.774, allocations: 279.2 kB / 3.252 GB, free: 27.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001316/4.775, allocations: 247.9 kB / 3.253 GB, free: 27.49 MB / 0.8698 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.00122/4.776, allocations: 1.025 MB / 3.254 GB, free: 26.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007209/4.777, allocations: 413.8 kB / 3.254 GB, free: 26.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/4.777, allocations: 0 / 3.254 GB, free: 26.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/4.777, allocations: 250.1 kB / 3.254 GB, free: 25.85 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009214/4.778, allocations: 211.5 kB / 3.254 GB, free: 25.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/4.78, allocations: 0.7682 MB / 3.255 GB, free: 24.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/4.78, allocations: 0.9073 MB / 3.256 GB, free: 23.92 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/4.78, allocations: 4 kB / 3.256 GB, free: 23.91 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)