Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.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.Examples.Tutorial.Boiler.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System4",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 1.804/1.804, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001032/0.001032, allocations: 176.8 kB / 487 MB, free: 5.406 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.119/1.119, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.0008462/0.0008462, allocations: 93.62 kB / 0.9213 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.3987/0.3995, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.5796, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.136/3.716, allocations: 2.222 GB / 3.427 GB, free: 73.85 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/3.716, allocations: 91.64 kB / 3.427 GB, free: 73.77 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1620 * Number of variables: 1620 Notification: Performance of Generate backend data structure: time 11.97/15.68, allocations: 4.417 GB / 7.844 GB, free: 61.39 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/15.68, allocations: 15.98 kB / 7.844 GB, free: 61.39 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008048/15.69, allocations: 1.695 MB / 7.846 GB, free: 60.79 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/15.72, allocations: 12.86 MB / 7.858 GB, free: 59.19 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/15.72, allocations: 208.1 kB / 7.859 GB, free: 59.19 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/15.72, allocations: 420.9 kB / 7.859 GB, free: 59.18 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007963/15.73, allocations: 5.287 MB / 7.864 GB, free: 59.15 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008816/15.73, allocations: 6.411 MB / 7.87 GB, free: 58.32 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/15.73, allocations: 21.11 kB / 7.87 GB, free: 58.32 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005039/15.74, allocations: 12.22 kB / 7.87 GB, free: 58.32 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/15.74, allocations: 267.6 kB / 7.871 GB, free: 58.3 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/15.77, allocations: 38.81 MB / 7.909 GB, free: 37.3 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/15.77, allocations: 2.138 MB / 7.911 GB, free: 37.28 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/15.78, allocations: 2.249 MB / 7.913 GB, free: 37.24 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/15.79, allocations: 8.908 MB / 7.922 GB, free: 34.43 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002529/15.79, allocations: 2.091 MB / 7.924 GB, free: 34.3 MB / 1.339 GB Notification: Performance of pre-optimization done (n=355): time 4.198e-06/15.79, allocations: 1.656 kB / 7.924 GB, free: 34.3 MB / 1.339 GB Notification: Performance of matching and sorting (n=360): time 0.022/15.82, allocations: 10.25 MB / 7.934 GB, free: 31.92 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/15.82, allocations: 113.6 kB / 7.934 GB, free: 31.82 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007419/15.82, allocations: 6.27 MB / 7.94 GB, free: 31.32 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/15.82, allocations: 34.8 kB / 7.94 GB, free: 31.29 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.002453/15.83, allocations: 2.743 MB / 7.943 GB, free: 29.93 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.00232/15.83, allocations: 1.211 MB / 7.944 GB, free: 29.13 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/15.83, allocations: 0 / 7.944 GB, free: 29.13 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0001754/15.83, allocations: 0.4913 MB / 7.944 GB, free: 28.82 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/15.83, allocations: 1.712 MB / 7.946 GB, free: 28.8 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/15.83, allocations: 3.409 MB / 7.949 GB, free: 26.77 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/15.84, allocations: 2.499 MB / 7.952 GB, free: 26.71 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/15.84, allocations: 12.69 kB / 7.952 GB, free: 26.71 MB / 1.339 GB Notification: Performance of matching and sorting (n=635) (initialization): time 0.0114/15.85, allocations: 6.25 MB / 7.958 GB, free: 26.12 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.004275/15.85, allocations: 21.28 MB / 7.979 GB, free: 19.88 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/15.85, allocations: 40.47 kB / 7.979 GB, free: 19.88 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/15.86, allocations: 0.6402 MB / 7.979 GB, free: 19.83 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/15.86, allocations: 1.074 MB / 7.98 GB, free: 19.83 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/15.86, allocations: 5.811 MB / 7.986 GB, free: 31.64 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/15.87, allocations: 0.5892 MB / 7.987 GB, free: 31.56 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/15.87, allocations: 247 kB / 7.987 GB, free: 31.56 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/15.87, allocations: 3.312 kB / 7.987 GB, free: 31.56 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008519/15.88, allocations: 5.05 MB / 7.992 GB, free: 31.43 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-05/15.88, allocations: 35.78 kB / 7.992 GB, free: 31.43 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/15.88, allocations: 0.6035 MB / 7.992 GB, free: 31.39 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/15.89, allocations: 1.045 MB / 7.993 GB, free: 31.39 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00857/15.9, allocations: 7.182 MB / 8 GB, free: 26.98 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006493/15.9, allocations: 0.5423 MB / 8.001 GB, free: 26.92 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/15.9, allocations: 234.2 kB / 8.001 GB, free: 26.92 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 573 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008899/15.9, allocations: 262.5 kB / 8.001 GB, free: 26.75 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/15.9, allocations: 0.8182 MB / 8.002 GB, free: 26.31 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009736/15.91, allocations: 5.231 MB / 8.007 GB, free: 25.96 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/15.91, allocations: 39.03 kB / 8.007 GB, free: 25.96 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/15.91, allocations: 6.719 kB / 8.007 GB, free: 25.96 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006076/15.92, allocations: 3.781 MB / 8.011 GB, free: 25.72 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/15.94, allocations: 11.41 MB / 8.022 GB, free: 25.05 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/15.94, allocations: 2.156 kB / 8.022 GB, free: 25.05 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/15.95, allocations: 0.6902 MB / 8.023 GB, free: 25.02 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/15.95, allocations: 0.5906 MB / 8.023 GB, free: 24.94 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/15.95, allocations: 66.62 kB / 8.023 GB, free: 24.94 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007896/15.96, allocations: 11.35 MB / 8.035 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/15.96, allocations: 0 / 8.035 GB, free: 15.29 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01063/15.97, allocations: 7.134 MB / 8.041 GB, free: 14.31 MB / 1.37 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0139/15.98, allocations: 10.25 MB / 8.052 GB, free: 12.93 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004149/15.98, allocations: 1.515 MB / 8.053 GB, free: 12.39 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/15.99, allocations: 22.94 kB / 8.053 GB, free: 12.39 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006104/15.99, allocations: 0.5201 MB / 8.054 GB, free: 12.31 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/15.99, allocations: 214.3 kB / 8.054 GB, free: 12.31 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003246/15.99, allocations: 171.1 kB / 8.054 GB, free: 12.31 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.006153/16, allocations: 4.632 MB / 8.058 GB, free: 12.06 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.01872/16.02, allocations: 6.176 MB / 8.064 GB, free: 11.86 MB / 1.37 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U) * Number of discrete variables: 8 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,hysTOut.y,hysTBoi.y,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (347): * Single equations (assignments): 327 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006488/16.02, allocations: 5.609 MB / 8.07 GB, free: 9.078 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01148/16.04, allocations: 8.061 MB / 8.078 GB, free: 8.156 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/16.04, allocations: 4.781 kB / 8.078 GB, free: 8.152 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/16.04, allocations: 2.778 MB / 8.081 GB, free: 7.363 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01718/16.06, allocations: 3.899 MB / 8.084 GB, free: 7.125 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/16.08, allocations: 13.71 MB / 8.098 GB, free: 3.426 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00601/16.09, allocations: 5.815 MB / 8.103 GB, free: 2.391 MB / 1.37 GB Notification: Performance of SimCode: time 6.81e-07/16.09, allocations: 0 / 8.103 GB, free: 2.391 MB / 1.37 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System4_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System4_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System4.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)