Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.426/1.426, allocations: 289.8 MB / 297.1 MB, free: 9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 184.5 kB / 366.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.1 MB / 0.6256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 82.61 kB / 0.7396 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3984/0.3993, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.5587, allocations: 116.3 MB / 0.9726 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/1.049, allocations: 145.9 MB / 1.115 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/1.049, allocations: 75.8 kB / 1.115 GB, free: 16.12 MB / 0.6823 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.02043/1.07, allocations: 7.842 MB / 1.123 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.07, allocations: 8.875 kB / 1.123 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/1.07, allocations: 59.59 kB / 1.123 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/1.071, allocations: 409 kB / 1.123 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.071, allocations: 11.47 kB / 1.123 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/1.071, allocations: 27.17 kB / 1.123 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004991/1.071, allocations: 225.2 kB / 1.124 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/1.072, allocations: 347.3 kB / 1.124 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/1.072, allocations: 1.312 kB / 1.124 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/1.072, allocations: 0.6094 kB / 1.124 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/1.072, allocations: 9.531 kB / 1.124 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/1.074, allocations: 1.293 MB / 1.125 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/1.074, allocations: 197.4 kB / 1.125 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/1.075, allocations: 115.8 kB / 1.126 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/1.075, allocations: 3.094 kB / 1.126 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/1.075, allocations: 155.5 kB / 1.126 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/1.075, allocations: 1.188 kB / 1.126 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0005007/1.075, allocations: 256.6 kB / 1.126 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/1.076, allocations: 134.6 kB / 1.126 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/1.076, allocations: 278.9 kB / 1.126 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/1.076, allocations: 28.11 kB / 1.126 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.076, allocations: 190.6 kB / 1.127 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/1.076, allocations: 98.72 kB / 1.127 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/1.076, allocations: 0 / 1.127 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/1.076, allocations: 348.5 kB / 1.127 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/1.076, allocations: 89.88 kB / 1.127 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/1.077, allocations: 159.6 kB / 1.127 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/1.077, allocations: 93.08 kB / 1.127 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.077, allocations: 1.375 kB / 1.127 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004815/1.077, allocations: 298.4 kB / 1.128 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.077, allocations: 5 kB / 1.128 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.077, allocations: 1.922 kB / 1.128 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.077, allocations: 3.5 kB / 1.128 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/1.078, allocations: 70.89 kB / 1.128 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.078, allocations: 4.859 kB / 1.128 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/1.078, allocations: 43.09 kB / 1.128 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/1.078, allocations: 16.66 kB / 1.128 GB, free: 13.01 MB / 0.6823 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 9.198e-05/1.078, allocations: 119.3 kB / 1.128 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/1.078, allocations: 37.97 kB / 1.128 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/1.078, allocations: 43.45 kB / 1.128 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.078, allocations: 3.938 kB / 1.128 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.078, allocations: 0 / 1.128 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.078, allocations: 1.734 kB / 1.128 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.079, allocations: 0.7432 MB / 1.129 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.079, allocations: 0 / 1.129 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/1.08, allocations: 56.11 kB / 1.129 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.08, allocations: 5.828 kB / 1.129 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.08, allocations: 1.922 kB / 1.129 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.08, allocations: 1.828 kB / 1.129 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.08, allocations: 1.281 kB / 1.129 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006092/1.08, allocations: 495.1 kB / 1.129 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007453/1.081, allocations: 0.9824 MB / 1.13 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.081, allocations: 137.3 kB / 1.13 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/1.081, allocations: 5.266 kB / 1.13 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/1.081, allocations: 30.55 kB / 1.13 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/1.082, allocations: 25.89 kB / 1.13 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/1.082, allocations: 8.188 kB / 1.13 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001984/1.082, allocations: 215.4 kB / 1.131 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009848/1.083, allocations: 74.12 kB / 1.131 GB, free: 11.58 MB / 0.6823 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.000135/1.083, allocations: 114.5 kB / 1.131 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004053/1.083, allocations: 239.2 kB / 1.131 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.083, allocations: 0 / 1.131 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/1.084, allocations: 126.8 kB / 1.131 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/1.084, allocations: 66.55 kB / 1.131 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.086, allocations: 0.5535 MB / 1.132 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.086, allocations: 0.8566 MB / 1.132 GB, free: 26.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/1.086, allocations: 0 / 1.132 GB, free: 26.38 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)