Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009455/0.0009456, allocations: 188.9 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.2 MB / 0.5667 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000832/0.0008319, allocations: 106.8 kB / 0.671 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3481/0.349, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.5144, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.9984, allocations: 139.7 MB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.9987, allocations: 75.02 kB / 1.021 GB, free: 14.98 MB / 0.6511 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.01929/1.018, allocations: 7.886 MB / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.018, allocations: 8 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/1.018, allocations: 55.34 kB / 1.029 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/1.019, allocations: 400.2 kB / 1.029 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/1.019, allocations: 15.69 kB / 1.029 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/1.019, allocations: 20 kB / 1.029 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004601/1.019, allocations: 232 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/1.02, allocations: 337.5 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.02, allocations: 3.938 kB / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/1.02, allocations: 4 kB / 1.03 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.02, allocations: 8 kB / 1.03 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.022, allocations: 1.297 MB / 1.031 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/1.022, allocations: 214.4 kB / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.022, allocations: 110.2 kB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/1.022, allocations: 4.219 kB / 1.031 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/1.022, allocations: 159 kB / 1.032 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/1.022, allocations: 3.938 kB / 1.032 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0004272/1.023, allocations: 254.2 kB / 1.032 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.023, allocations: 136.5 kB / 1.032 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/1.023, allocations: 277.1 kB / 1.032 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/1.023, allocations: 25.7 kB / 1.032 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.023, allocations: 189.5 kB / 1.032 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/1.024, allocations: 98.06 kB / 1.033 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/1.024, allocations: 4 kB / 1.033 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.024, allocations: 348.7 kB / 1.033 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/1.024, allocations: 83.31 kB / 1.033 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/1.024, allocations: 157.4 kB / 1.033 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/1.024, allocations: 102.4 kB / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.024, allocations: 0 / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004133/1.025, allocations: 295.9 kB / 1.034 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.025, allocations: 4 kB / 1.034 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.025, allocations: 4 kB / 1.034 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.025, allocations: 0 / 1.034 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/1.025, allocations: 71.66 kB / 1.034 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.025, allocations: 4 kB / 1.034 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.025, allocations: 43.75 kB / 1.034 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/1.025, allocations: 15.98 kB / 1.034 GB, free: 4.23 MB / 0.6511 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.0001224/1.025, allocations: 116.4 kB / 1.034 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/1.025, allocations: 35.53 kB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/1.026, allocations: 47.12 kB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.026, allocations: 4 kB / 1.034 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.026, allocations: 0 / 1.034 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.026, allocations: 7.984 kB / 1.034 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/1.027, allocations: 0.7389 MB / 1.035 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.027, allocations: 0 / 1.035 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/1.027, allocations: 55.91 kB / 1.035 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.027, allocations: 0 / 1.035 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.027, allocations: 7.312 kB / 1.035 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/1.027, allocations: 4 kB / 1.035 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.027, allocations: 0 / 1.035 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006188/1.028, allocations: 494 kB / 1.035 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008482/1.028, allocations: 0.9765 MB / 1.036 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.029, allocations: 146.9 kB / 1.036 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/1.029, allocations: 7.984 kB / 1.036 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/1.029, allocations: 27.92 kB / 1.036 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/1.029, allocations: 27.08 kB / 1.036 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/1.029, allocations: 7.938 kB / 1.036 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001817/1.029, allocations: 210.7 kB / 1.036 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008748/1.03, allocations: 79.66 kB / 1.037 GB, free: 1.734 MB / 0.6511 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.0001543/1.03, allocations: 114.7 kB / 1.037 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004273/1.031, allocations: 236.9 kB / 1.037 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.031, allocations: 4.25 kB / 1.037 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/1.031, allocations: 122 kB / 1.037 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.031, allocations: 61.33 kB / 1.037 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.033, allocations: 0.5601 MB / 1.038 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/1.033, allocations: 0.8577 MB / 1.038 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of SimCode: time 4.61e-07/1.033, allocations: 0 / 1.038 GB, free: 15.92 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)