Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.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.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System6,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System6",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.786/1.786, 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.0009461/0.0009461, allocations: 191.7 kB / 487 MB, free: 5.379 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.132/1.132, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.0009121/0.0009121, allocations: 88.62 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4202/0.4211, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.5982, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.047/3.646, allocations: 2.242 GB / 3.447 GB, free: 33.61 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/3.646, allocations: 89.02 kB / 3.447 GB, free: 33.57 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: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 12.16/15.81, allocations: 4.473 GB / 7.92 GB, free: 61.62 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/15.81, allocations: 9.719 kB / 7.92 GB, free: 61.62 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/15.82, allocations: 1.933 MB / 7.922 GB, free: 60.91 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03382/15.85, allocations: 13.49 MB / 7.935 GB, free: 58.95 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/15.85, allocations: 237.7 kB / 7.936 GB, free: 58.95 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/15.85, allocations: 483.7 kB / 7.936 GB, free: 58.95 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0144/15.87, allocations: 6.465 MB / 7.942 GB, free: 58.91 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/15.89, allocations: 7.363 MB / 7.95 GB, free: 57.92 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003561/15.89, allocations: 17 kB / 7.95 GB, free: 57.91 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/15.89, allocations: 11.28 kB / 7.95 GB, free: 57.91 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002941/15.89, allocations: 323.9 kB / 7.95 GB, free: 57.89 MB / 1.339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05467/15.95, allocations: 42.01 MB / 7.991 GB, free: 35.55 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/15.95, allocations: 2.751 MB / 7.994 GB, free: 35.5 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/15.95, allocations: 2.613 MB / 7.996 GB, free: 35.44 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/15.97, allocations: 9.858 MB / 8.006 GB, free: 32.47 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003973/15.98, allocations: 2.518 MB / 8.008 GB, free: 32.31 MB / 1.339 GB Notification: Performance of pre-optimization done (n=452): time 8.777e-06/15.98, allocations: 0 / 8.008 GB, free: 32.31 MB / 1.339 GB Notification: Performance of matching and sorting (n=457): time 0.03107/16.01, allocations: 11.84 MB / 8.02 GB, free: 29.61 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/16.01, allocations: 390 kB / 8.02 GB, free: 29.2 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/16.02, allocations: 6.838 MB / 8.027 GB, free: 28.62 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/16.02, allocations: 39.36 kB / 8.027 GB, free: 28.59 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.004237/16.03, allocations: 3.064 MB / 8.03 GB, free: 27.06 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.003201/16.03, allocations: 1.516 MB / 8.031 GB, free: 26.05 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004645/16.03, allocations: 0 / 8.031 GB, free: 26.05 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0003632/16.03, allocations: 0.5286 MB / 8.032 GB, free: 25.73 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/16.03, allocations: 1.957 MB / 8.034 GB, free: 25.71 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/16.04, allocations: 3.803 MB / 8.038 GB, free: 23.46 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005939/16.04, allocations: 2.805 MB / 8.04 GB, free: 23.25 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.233e-05/16.04, allocations: 16.62 kB / 8.04 GB, free: 23.25 MB / 1.339 GB Notification: Performance of matching and sorting (n=742) (initialization): time 0.01476/16.06, allocations: 7.045 MB / 8.047 GB, free: 22.27 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.00418/16.06, allocations: 22.58 MB / 8.069 GB, free: 14.46 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.116e-05/16.06, allocations: 39.59 kB / 8.069 GB, free: 14.46 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/16.06, allocations: 0.7183 MB / 8.07 GB, free: 14.4 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/16.07, allocations: 1.273 MB / 8.071 GB, free: 14.3 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/16.08, allocations: 7.265 MB / 8.078 GB, free: 8.809 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009483/16.09, allocations: 0.6438 MB / 8.079 GB, free: 8.68 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/16.09, allocations: 281.7 kB / 8.079 GB, free: 8.68 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/16.09, allocations: 3.469 kB / 8.079 GB, free: 8.68 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01496/16.1, allocations: 5.748 MB / 8.085 GB, free: 8.203 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/16.1, allocations: 40.19 kB / 8.085 GB, free: 8.203 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/16.11, allocations: 0.6832 MB / 8.086 GB, free: 8.141 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005447/16.11, allocations: 1.222 MB / 8.087 GB, free: 8.059 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/16.12, allocations: 8.648 MB / 8.095 GB, free: 2.309 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009675/16.13, allocations: 0.5962 MB / 8.096 GB, free: 2.199 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/16.13, allocations: 264.3 kB / 8.096 GB, free: 2.199 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,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,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 677 * 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: 5 * 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: 3 {5 6,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002622/16.14, allocations: 285.5 kB / 8.096 GB, free: 1.977 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00331/16.14, allocations: 0.9137 MB / 8.097 GB, free: 1.492 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/16.16, allocations: 6.266 MB / 8.103 GB, free: 0.8906 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.441e-05/16.16, allocations: 55.66 kB / 8.103 GB, free: 0.8867 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.213e-05/16.16, allocations: 6.531 kB / 8.103 GB, free: 0.8828 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009083/16.17, allocations: 4.494 MB / 8.108 GB, free: 0.5039 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/16.2, allocations: 13.2 MB / 8.121 GB, free: 15.54 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/16.2, allocations: 1.094 kB / 8.121 GB, free: 15.54 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004282/16.2, allocations: 0.8794 MB / 8.121 GB, free: 15.49 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/16.2, allocations: 0.6712 MB / 8.122 GB, free: 15.39 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003957/16.2, allocations: 78.41 kB / 8.122 GB, free: 15.39 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/16.21, allocations: 12.89 MB / 8.135 GB, free: 4.438 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/16.21, allocations: 0 / 8.135 GB, free: 4.438 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01636/16.23, allocations: 8.45 MB / 8.143 GB, free: 3.047 MB / 1.37 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0203/16.25, allocations: 12.01 MB / 8.155 GB, free: 8.652 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007231/16.26, allocations: 1.729 MB / 8.156 GB, free: 7.176 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003233/16.26, allocations: 29.08 kB / 8.157 GB, free: 7.152 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007719/16.27, allocations: 0.6031 MB / 8.157 GB, free: 6.711 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005044/16.27, allocations: 280.3 kB / 8.157 GB, free: 6.555 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006116/16.27, allocations: 202.4 kB / 8.158 GB, free: 6.395 MB / 1.385 GB Notification: Performance of sort global known variables: time 0.01079/16.28, allocations: 5.057 MB / 8.162 GB, free: 1.91 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.02815/16.31, allocations: 6.715 MB / 8.169 GB, free: 11.27 MB / 1.401 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 31 (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,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 14 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,hysTBoi.y,hysPum.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext,hysTOut.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (456): * Single equations (assignments): 433 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/16.32, allocations: 6.102 MB / 8.175 GB, free: 5.477 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.9673/17.29, allocations: 9.388 MB / 8.184 GB, free: 206.6 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/17.29, allocations: 8.531 kB / 8.184 GB, free: 206.6 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/17.29, allocations: 3.318 MB / 8.187 GB, free: 205.8 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01806/17.31, allocations: 4.144 MB / 8.191 GB, free: 205.7 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/17.34, allocations: 15.66 MB / 8.207 GB, free: 202.4 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006351/17.35, allocations: 6.422 MB / 8.213 GB, free: 201.5 MB / 1.401 GB Notification: Performance of SimCode: time 9.32e-07/17.35, allocations: 2.75 kB / 8.213 GB, free: 201.5 MB / 1.401 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System6_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System6.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System6_res.mat does not exist to compare? outputFormat=mat