Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.118/2.118, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001625/0.001624, allocations: 181.2 kB / 360.3 MB, free: 7.531 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.633/1.633, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001194, allocations: 89.14 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2477/0.249, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.8054, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/1.028, allocations: 144.8 MB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.028, allocations: 86.05 kB / 1.104 GB, free: 11.98 MB / 0.7136 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.03203/1.06, allocations: 7.849 MB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.06, allocations: 8.5 kB / 1.112 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/1.061, allocations: 55.34 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009774/1.062, allocations: 391.3 kB / 1.112 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/1.062, allocations: 12 kB / 1.112 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.062, allocations: 28.16 kB / 1.112 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/1.063, allocations: 234.9 kB / 1.113 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.065, allocations: 357.6 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/1.065, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/1.065, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/1.065, allocations: 12 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/1.07, allocations: 1.283 MB / 1.114 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.071, allocations: 202.4 kB / 1.114 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/1.072, allocations: 113.6 kB / 1.114 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/1.072, allocations: 4 kB / 1.114 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/1.072, allocations: 165.2 kB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 5e-06/1.072, allocations: 0.6562 kB / 1.115 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001296/1.074, allocations: 243.1 kB / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.074, allocations: 144.5 kB / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00075/1.075, allocations: 270 kB / 1.115 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/1.075, allocations: 33.7 kB / 1.115 GB, free: 468 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/1.075, allocations: 184.3 kB / 1.115 GB, free: 280 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/1.075, allocations: 102.6 kB / 1.116 GB, free: 176 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/1.075, allocations: 3.75 kB / 1.116 GB, free: 176 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.075, allocations: 346.8 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/1.076, allocations: 84 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/1.076, allocations: 155.2 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/1.076, allocations: 97.55 kB / 1.116 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.076, allocations: 4 kB / 1.116 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008348/1.077, allocations: 294.3 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.077, allocations: 4 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.077, allocations: 1.484 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.077, allocations: 4.125 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/1.078, allocations: 67.91 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.078, allocations: 0 / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/1.078, allocations: 53.34 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/1.079, allocations: 12 kB / 1.117 GB, free: 15.04 MB / 0.7292 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.0001625/1.079, allocations: 128.9 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/1.079, allocations: 39.56 kB / 1.117 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/1.079, allocations: 36.06 kB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.084e-05/1.079, allocations: 4 kB / 1.117 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.079, allocations: 7.938 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.079, allocations: 7.891 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/1.081, allocations: 0.7368 MB / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.081, allocations: 0 / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/1.081, allocations: 51.91 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.081, allocations: 8 kB / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/1.081, allocations: 0 / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.081, allocations: 1.625 kB / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.081, allocations: 0 / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001086/1.082, allocations: 495 kB / 1.118 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001543/1.084, allocations: 0.9761 MB / 1.119 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.084, allocations: 140.6 kB / 1.119 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/1.084, allocations: 7.891 kB / 1.119 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/1.085, allocations: 28.05 kB / 1.119 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.085, allocations: 27.95 kB / 1.119 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/1.085, allocations: 4 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003387/1.085, allocations: 216.6 kB / 1.119 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001454/1.087, allocations: 71.75 kB / 1.12 GB, free: 11.97 MB / 0.7292 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.0001839/1.087, allocations: 112 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006737/1.088, allocations: 240.5 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.088, allocations: 4 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/1.088, allocations: 132.4 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/1.089, allocations: 59.92 kB / 1.12 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/1.091, allocations: 0.5622 MB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/1.091, allocations: 0.8577 MB / 1.121 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/1.091, allocations: 4 kB / 1.121 GB, free: 9.965 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)