Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System7.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.System7,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System7,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System7",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.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 186.9 kB / 487 MB, free: 7.91 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.101/1.101, allocations: 221.3 MB / 0.7819 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 92.88 kB / 0.9213 GB, free: 65.14 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.2075/0.2084, allocations: 148.5 MB / 1.066 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.4249, allocations: 142.3 MB / 1.205 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.419/3.844, allocations: 2.244 GB / 3.449 GB, free: 396.9 MB / 1.154 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/3.844, allocations: 90.52 kB / 3.449 GB, free: 396.9 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2028 * Number of variables: 2028 Notification: Performance of Generate backend data structure: time 11.84/15.68, allocations: 4.493 GB / 7.943 GB, free: 62.96 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/15.68, allocations: 9.75 kB / 7.943 GB, free: 62.96 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/15.69, allocations: 1.977 MB / 7.945 GB, free: 62.21 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0356/15.73, allocations: 13.65 MB / 7.958 GB, free: 59.99 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005663/15.73, allocations: 258.6 kB / 7.958 GB, free: 59.99 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/15.73, allocations: 0.4986 MB / 7.959 GB, free: 59.98 MB / 1.342 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01612/15.75, allocations: 6.738 MB / 7.965 GB, free: 59.95 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/15.76, allocations: 7.717 MB / 7.973 GB, free: 58.91 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/15.76, allocations: 21.14 kB / 7.973 GB, free: 58.9 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007647/15.76, allocations: 18.92 kB / 7.973 GB, free: 58.9 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/15.76, allocations: 332 kB / 7.973 GB, free: 58.88 MB / 1.342 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05289/15.82, allocations: 43.44 MB / 8.016 GB, free: 35.48 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/15.82, allocations: 3.02 MB / 8.019 GB, free: 35.39 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/15.83, allocations: 2.73 MB / 8.021 GB, free: 35.31 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01802/15.84, allocations: 10.29 MB / 8.031 GB, free: 32.17 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003384/15.85, allocations: 2.655 MB / 8.034 GB, free: 32 MB / 1.342 GB Notification: Performance of pre-optimization done (n=491): time 7.694e-06/15.85, allocations: 0 / 8.034 GB, free: 32 MB / 1.342 GB Notification: Performance of matching and sorting (n=496): time 0.03481/15.88, allocations: 15.45 MB / 8.049 GB, free: 26.66 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/15.88, allocations: 447.9 kB / 8.049 GB, free: 26.19 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009647/15.89, allocations: 6.964 MB / 8.056 GB, free: 25.6 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/15.89, allocations: 41.77 kB / 8.056 GB, free: 25.57 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.003281/15.9, allocations: 3.185 MB / 8.059 GB, free: 23.96 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.003542/15.9, allocations: 1.594 MB / 8.061 GB, free: 22.91 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/15.9, allocations: 0 / 8.061 GB, free: 22.91 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0002442/15.9, allocations: 0.5397 MB / 8.061 GB, free: 22.59 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/15.9, allocations: 2.044 MB / 8.063 GB, free: 22.57 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003981/15.91, allocations: 3.973 MB / 8.067 GB, free: 20.24 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006559/15.91, allocations: 2.895 MB / 8.07 GB, free: 20.02 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.006e-05/15.91, allocations: 12.09 kB / 8.07 GB, free: 20.02 MB / 1.342 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0181/15.93, allocations: 7.334 MB / 8.077 GB, free: 19 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.004735/15.94, allocations: 24.33 MB / 8.101 GB, free: 9.469 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.686e-05/15.94, allocations: 46.34 kB / 8.101 GB, free: 9.465 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/15.94, allocations: 0.7288 MB / 8.102 GB, free: 8.957 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/15.94, allocations: 1.331 MB / 8.103 GB, free: 7.812 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/15.95, allocations: 7.209 MB / 8.11 GB, free: 0.5039 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009996/15.96, allocations: 0.648 MB / 8.111 GB, free: 0 / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/15.96, allocations: 305 kB / 8.111 GB, free: 15.73 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/15.96, allocations: 4 kB / 8.111 GB, free: 15.73 MB / 1.373 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01513/15.98, allocations: 6.003 MB / 8.117 GB, free: 10.39 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/15.98, allocations: 40 kB / 8.117 GB, free: 10.35 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/15.98, allocations: 0.6941 MB / 8.118 GB, free: 9.762 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005491/15.99, allocations: 1.271 MB / 8.119 GB, free: 8.656 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/16, allocations: 8.579 MB / 8.127 GB, free: 52 kB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009567/16.01, allocations: 0.6075 MB / 8.128 GB, free: 15.59 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/16.01, allocations: 285.5 kB / 8.128 GB, free: 15.34 MB / 1.389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.T1.t_start,T1.t_start,$whenCondition7,$whenCondition6,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,stateGraphRoot.activeSteps,alternative.split[2].available,$PRE.allOff.localActive,allOff.localActive,$PRE.allOff.newActive,allOff.newActive,$PRE.allOff.oldActive,allOff.oldActive,allOff.active,T1.enableFire,T1.condition,$PRE.boilerOn.localActive,boilerOn.localActive,$PRE.boilerOn.newActive,boilerOn.newActive,$PRE.boilerOn.oldActive,boilerOn.oldActive,boilerOn.active,T2.enableFire,T2.condition,T3.enableFire,T3.fire,$PRE.T3.t_start,T3.t_start,T3.condition,T4.enableFire,T4.fire,$PRE.T4.t_start,T4.t_start,T4.condition,$PRE.pumpsOn.localActive,pumpsOn.localActive,pumpsOn.inPort[1].set,pumpsOn.outPort[1].reset,$PRE.pumpsOn.newActive,pumpsOn.newActive,$PRE.pumpsOn.oldActive,pumpsOn.oldActive,pumpsOn.active,and3.u1,and3.u2,greThrTRoo.y,greThrTROut.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 737 * 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.002574/16.01, allocations: 311.2 kB / 8.128 GB, free: 15.03 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00337/16.01, allocations: 0.9375 MB / 8.129 GB, free: 14.08 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/16.03, allocations: 6.513 MB / 8.136 GB, free: 8.543 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.919e-05/16.03, allocations: 60 kB / 8.136 GB, free: 8.484 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/16.03, allocations: 4 kB / 8.136 GB, free: 8.48 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009693/16.04, allocations: 4.67 MB / 8.14 GB, free: 4.293 MB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.011/17.05, allocations: 13.75 MB / 8.154 GB, free: 190.7 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/17.05, allocations: 0 / 8.154 GB, free: 190.7 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/17.06, allocations: 0.91 MB / 8.155 GB, free: 190.7 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/17.06, allocations: 0.6677 MB / 8.155 GB, free: 190.6 MB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/17.06, allocations: 85.42 kB / 8.155 GB, free: 190.6 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007236/17.07, allocations: 12.82 MB / 8.168 GB, free: 180 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/17.07, allocations: 3.875 kB / 8.168 GB, free: 180 MB / 1.389 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01346/17.08, allocations: 8.93 MB / 8.177 GB, free: 179.1 MB / 1.389 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01739/17.1, allocations: 12.65 MB / 8.189 GB, free: 177.9 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005377/17.1, allocations: 1.787 MB / 8.191 GB, free: 177.8 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/17.1, allocations: 24.83 kB / 8.191 GB, free: 177.8 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005776/17.11, allocations: 0.6096 MB / 8.191 GB, free: 177.8 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/17.11, allocations: 307.5 kB / 8.192 GB, free: 177.8 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004246/17.11, allocations: 232.5 kB / 8.192 GB, free: 177.8 MB / 1.389 GB Notification: Performance of sort global known variables: time 0.006947/17.12, allocations: 5.112 MB / 8.197 GB, free: 177.5 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.02396/17.14, allocations: 6.788 MB / 8.203 GB, free: 177.5 MB / 1.389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 51 (T4.enableFire,pumpsOn.localActive,T3.enableFire,boilerOn.localActive,allOff.localActive,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,stateGraphRoot.activeSteps,alternative.split[2].available,allOff.newActive,allOff.oldActive,allOff.active,T1.enableFire,T1.condition,boilerOn.newActive,boilerOn.oldActive,boilerOn.active,T2.enableFire,T2.condition,T3.fire,T3.t_start,T3.condition,T4.fire,T4.t_start,T4.condition,pumpsOn.inPort[1].set,pumpsOn.outPort[1].reset,pumpsOn.newActive,pumpsOn.oldActive,pumpsOn.active,and3.u1,and3.u2,greThrTRoo.y,greThrTROut.y,T1.t_start,T2.t_start) * Number of discrete states: 9 (T2.t_start,T1.t_start,timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,allOff.newActive,boilerOn.newActive,pumpsOn.newActive,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (501): * Single equations (assignments): 471 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 11 * 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.008392/17.15, allocations: 6.128 MB / 8.209 GB, free: 175.5 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.01504/17.17, allocations: 9.804 MB / 8.219 GB, free: 174.6 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/17.17, allocations: 9.375 kB / 8.219 GB, free: 174.6 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/17.17, allocations: 3.442 MB / 8.222 GB, free: 173.7 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01922/17.19, allocations: 4.191 MB / 8.226 GB, free: 173.7 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/17.22, allocations: 16.13 MB / 8.242 GB, free: 170.2 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007017/17.23, allocations: 6.606 MB / 8.249 GB, free: 169.2 MB / 1.389 GB Notification: Performance of SimCode: time 7.42e-07/17.23, allocations: 0 / 8.249 GB, free: 169.2 MB / 1.389 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System7_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System7_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-07 Buildings_9_Buildings_Examples_Tutorial_Boiler_System7.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.Boiler.System7_res.mat does not exist to compare? outputFormat=mat