Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.959/1.959, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.00103/0.00103, allocations: 193.2 kB / 487 MB, free: 5.305 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.283/1.283, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0008736/0.0008736, allocations: 98.11 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6167/0.6176, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.8437, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6348/1.479, allocations: 157 MB / 1.359 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.479, allocations: 86.69 kB / 1.359 GB, free: 15.66 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.01848/1.497, allocations: 7.827 MB / 1.366 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/1.497, allocations: 8 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/1.497, allocations: 59.28 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/1.498, allocations: 401.3 kB / 1.367 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/1.498, allocations: 12 kB / 1.367 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/1.498, allocations: 24 kB / 1.367 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003794/1.498, allocations: 223.2 kB / 1.367 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/1.499, allocations: 348.9 kB / 1.367 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.499, allocations: 0 / 1.367 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/1.499, allocations: 0 / 1.367 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.499, allocations: 19.94 kB / 1.367 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/1.5, allocations: 1.297 MB / 1.369 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/1.501, allocations: 207.6 kB / 1.369 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.501, allocations: 119.9 kB / 1.369 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/1.501, allocations: 4 kB / 1.369 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/1.501, allocations: 148.7 kB / 1.369 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/1.501, allocations: 0 / 1.369 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0004597/1.502, allocations: 255.3 kB / 1.369 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.502, allocations: 136.1 kB / 1.369 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/1.502, allocations: 279.2 kB / 1.37 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/1.502, allocations: 29.7 kB / 1.37 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.502, allocations: 192.1 kB / 1.37 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/1.502, allocations: 95.8 kB / 1.37 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/1.502, allocations: 224 / 1.37 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/1.502, allocations: 347.5 kB / 1.37 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.502, allocations: 94.25 kB / 1.37 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/1.503, allocations: 156.1 kB / 1.371 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/1.503, allocations: 88.61 kB / 1.371 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.503, allocations: 0 / 1.371 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003976/1.503, allocations: 304.5 kB / 1.371 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.503, allocations: 4 kB / 1.371 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.503, allocations: 0 / 1.371 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.503, allocations: 4 kB / 1.371 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/1.504, allocations: 67.89 kB / 1.371 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.504, allocations: 4 kB / 1.371 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/1.504, allocations: 47.39 kB / 1.371 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/1.504, allocations: 8 kB / 1.371 GB, free: 6.691 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.504, allocations: 120.7 kB / 1.371 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/1.504, allocations: 39.53 kB / 1.371 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/1.504, allocations: 36.5 kB / 1.371 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.504, allocations: 4 kB / 1.371 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.504, allocations: 0 / 1.371 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.504, allocations: 4 kB / 1.371 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/1.505, allocations: 0.742 MB / 1.372 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.505, allocations: 3.906 kB / 1.372 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/1.505, allocations: 63.66 kB / 1.372 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.505, allocations: 0 / 1.372 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/1.505, allocations: 3.984 kB / 1.372 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.505, allocations: 4 kB / 1.372 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.505, allocations: 4 kB / 1.372 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005965/1.506, allocations: 482.5 kB / 1.373 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007777/1.507, allocations: 0.988 MB / 1.374 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/1.507, allocations: 141.8 kB / 1.374 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/1.507, allocations: 7.906 kB / 1.374 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/1.507, allocations: 31.53 kB / 1.374 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/1.507, allocations: 19.97 kB / 1.374 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/1.507, allocations: 11.55 kB / 1.374 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001874/1.508, allocations: 214.5 kB / 1.374 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009771/1.509, allocations: 75.69 kB / 1.374 GB, free: 4.203 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/1.509, allocations: 116.4 kB / 1.374 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003616/1.509, allocations: 235.9 kB / 1.374 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.509, allocations: 3.938 kB / 1.374 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/1.509, allocations: 126.7 kB / 1.374 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/1.51, allocations: 63.73 kB / 1.375 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.511, allocations: 0.5493 MB / 1.375 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/1.511, allocations: 0.8615 MB / 1.376 GB, free: 18.39 MB / 0.823 GB Notification: Performance of SimCode: time 3.81e-07/1.511, allocations: 3.938 kB / 1.376 GB, free: 18.38 MB / 0.823 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat does not exist to compare? outputFormat=mat