Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.421/1.421, allocations: 289.8 MB / 297.1 MB, free: 8.992 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.001135/0.001135, allocations: 188.3 kB / 366.3 MB, free: 11.34 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.107/1.107, allocations: 205.1 MB / 0.6256 GB, free: 11.37 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008654, allocations: 85.3 kB / 0.7396 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3782/0.3791, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.5443, allocations: 116.3 MB / 0.9726 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.064/3.608, allocations: 2.072 GB / 3.045 GB, free: 248.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/3.608, allocations: 87.95 kB / 3.045 GB, free: 248.7 MB / 0.948 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.2947/3.903, allocations: 170.1 MB / 3.211 GB, free: 75.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/3.903, allocations: 12 kB / 3.211 GB, free: 75.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/3.904, allocations: 151.2 kB / 3.211 GB, free: 75.23 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/3.905, allocations: 0.513 MB / 3.212 GB, free: 74.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/3.905, allocations: 12 kB / 3.212 GB, free: 74.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/3.905, allocations: 19.94 kB / 3.212 GB, free: 74.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003424/3.905, allocations: 201.2 kB / 3.212 GB, free: 74.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/3.906, allocations: 271.8 kB / 3.212 GB, free: 74.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/3.906, allocations: 0 / 3.212 GB, free: 74.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/3.906, allocations: 11.89 kB / 3.212 GB, free: 74.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/3.906, allocations: 12.66 kB / 3.212 GB, free: 74.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/3.907, allocations: 1.4 MB / 3.214 GB, free: 72.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/3.908, allocations: 146.1 kB / 3.214 GB, free: 72.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/3.908, allocations: 103.1 kB / 3.214 GB, free: 72.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/3.908, allocations: 4 kB / 3.214 GB, free: 72.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/3.908, allocations: 147.8 kB / 3.214 GB, free: 72.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/3.908, allocations: 0 / 3.214 GB, free: 72.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002416/3.91, allocations: 1.002 MB / 3.215 GB, free: 71.15 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/3.911, allocations: 55.41 kB / 3.215 GB, free: 71.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/3.911, allocations: 385.1 kB / 3.216 GB, free: 70.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/3.911, allocations: 25.7 kB / 3.216 GB, free: 70.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/3.911, allocations: 180.2 kB / 3.216 GB, free: 70.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/3.911, allocations: 98.5 kB / 3.216 GB, free: 70.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/3.911, allocations: 3.984 kB / 3.216 GB, free: 70.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/3.911, allocations: 354.8 kB / 3.216 GB, free: 70.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/3.911, allocations: 132.8 kB / 3.216 GB, free: 69.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/3.912, allocations: 197.3 kB / 3.217 GB, free: 69.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/3.912, allocations: 163.9 kB / 3.217 GB, free: 69.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/3.912, allocations: 4 kB / 3.217 GB, free: 69.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008762/3.913, allocations: 489.6 kB / 3.217 GB, free: 69.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/3.913, allocations: 9.969 kB / 3.217 GB, free: 69.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/3.913, allocations: 8 kB / 3.217 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/3.913, allocations: 84.8 kB / 3.217 GB, free: 68.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/3.913, allocations: 71.91 kB / 3.217 GB, free: 68.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/3.915, allocations: 1.685 MB / 3.219 GB, free: 67.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/3.915, allocations: 15.89 kB / 3.219 GB, free: 67.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/3.915, allocations: 12 kB / 3.219 GB, free: 67.04 MB / 0.948 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 8.645e-05/3.915, allocations: 113 kB / 3.219 GB, free: 66.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/3.915, allocations: 43.44 kB / 3.219 GB, free: 66.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/3.916, allocations: 386.8 kB / 3.22 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/3.916, allocations: 8.031 kB / 3.22 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/3.916, allocations: 3.938 kB / 3.22 GB, free: 66.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/3.916, allocations: 0 / 3.22 GB, free: 66.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/3.917, allocations: 0.9614 MB / 3.221 GB, free: 65.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/3.917, allocations: 128 / 3.221 GB, free: 65.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/3.918, allocations: 59.91 kB / 3.221 GB, free: 65.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/3.918, allocations: 112.8 kB / 3.221 GB, free: 65.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/3.918, allocations: 8 kB / 3.221 GB, free: 65.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/3.92, allocations: 1.657 MB / 3.222 GB, free: 63.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/3.92, allocations: 0 / 3.222 GB, free: 63.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007709/3.92, allocations: 0.5777 MB / 3.223 GB, free: 62.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001041/3.921, allocations: 1.128 MB / 3.224 GB, free: 61.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/3.922, allocations: 160.4 kB / 3.224 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/3.922, allocations: 4 kB / 3.224 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/3.922, allocations: 16.05 kB / 3.224 GB, free: 61.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/3.922, allocations: 27.88 kB / 3.224 GB, free: 61.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/3.922, allocations: 7.984 kB / 3.224 GB, free: 61.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002241/3.922, allocations: 279.2 kB / 3.224 GB, free: 61.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00132/3.924, allocations: 260 kB / 3.225 GB, free: 60.98 MB / 0.948 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.001152/3.925, allocations: 1.034 MB / 3.226 GB, free: 60.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006634/3.926, allocations: 421.8 kB / 3.226 GB, free: 59.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/3.926, allocations: 0 / 3.226 GB, free: 59.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/3.926, allocations: 253.7 kB / 3.226 GB, free: 59.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/3.927, allocations: 214.6 kB / 3.227 GB, free: 59.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/3.928, allocations: 0.745 MB / 3.227 GB, free: 58.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/3.928, allocations: 0.9076 MB / 3.228 GB, free: 57.43 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/3.928, allocations: 0 / 3.228 GB, free: 57.43 MB / 0.948 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)