Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [: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.1-maint.8.0.x/package.mo): time 1.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 9.867 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.0009048/0.0009048, allocations: 186.2 kB / 361.1 MB, free: 248 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 0.6195 GB, free: 2.328 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007485/0.0007485, allocations: 97.72 kB / 0.7326 GB, free: 500 kB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.801e-06, allocations: 0.9375 kB / 0.8511 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1585, allocations: 115.3 MB / 0.9637 GB, free: 56.21 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.6319, allocations: 138 MB / 1.098 GB, free: 23.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.6321, allocations: 72.66 kB / 1.098 GB, free: 23.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003461/0.6356, allocations: 1.051 MB / 1.1 GB, free: 23.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.6356, allocations: 0 / 1.1 GB, free: 23.89 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002955/0.6359, allocations: 353.2 kB / 1.1 GB, free: 23.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.636, allocations: 11.5 kB / 1.1 GB, free: 23.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.636, allocations: 2.625 kB / 1.1 GB, free: 23.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.6361, allocations: 171.4 kB / 1.1 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6361, allocations: 3.875 kB / 1.1 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.6362, allocations: 7.031 kB / 1.1 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.836e-05/0.6362, allocations: 17.56 kB / 1.1 GB, free: 23.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.6363, allocations: 49.64 kB / 1.1 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6363, allocations: 1.078 kB / 1.1 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.6363, allocations: 1.312 kB / 1.1 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6364, allocations: 7.125 kB / 1.1 GB, free: 23.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.6367, allocations: 270.6 kB / 1.1 GB, free: 23.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.6368, allocations: 59.75 kB / 1.1 GB, free: 23.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.6368, allocations: 22.23 kB / 1.1 GB, free: 23.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.6368, allocations: 0 / 1.1 GB, free: 23.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.123e-05/0.6369, allocations: 70.97 kB / 1.101 GB, free: 22.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.6369, allocations: 3.984 kB / 1.101 GB, free: 22.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001507/0.6371, allocations: 65.27 kB / 1.101 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.6371, allocations: 53.34 kB / 1.101 GB, free: 22.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.6372, allocations: 107.9 kB / 1.101 GB, free: 22.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.6372, allocations: 28.02 kB / 1.101 GB, free: 22.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.6372, allocations: 87.52 kB / 1.101 GB, free: 22.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.6373, allocations: 18.62 kB / 1.101 GB, free: 22.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.6373, allocations: 0 / 1.101 GB, free: 22.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.6373, allocations: 317.6 kB / 1.101 GB, free: 22.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.6373, allocations: 21.28 kB / 1.101 GB, free: 22.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.6374, allocations: 42.5 kB / 1.101 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.6374, allocations: 14.61 kB / 1.101 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6374, allocations: 0 / 1.101 GB, free: 22.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001095/0.6375, allocations: 85.3 kB / 1.101 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6376, allocations: 3.844 kB / 1.101 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6376, allocations: 0 / 1.101 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6376, allocations: 5.516 kB / 1.101 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.6377, allocations: 11.56 kB / 1.101 GB, free: 22.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6377, allocations: 15.06 kB / 1.101 GB, free: 22.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.6377, allocations: 7.625 kB / 1.101 GB, free: 22.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.6378, allocations: 6.375 kB / 1.101 GB, free: 22.24 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.809e-05/0.6378, allocations: 111.2 kB / 1.101 GB, free: 22.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.6378, allocations: 4 kB / 1.101 GB, free: 22.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.6379, allocations: 16.5 kB / 1.101 GB, free: 22.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6379, allocations: 0 / 1.101 GB, free: 22.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6379, allocations: 4 kB / 1.101 GB, free: 22.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6379, allocations: 0 / 1.101 GB, free: 22.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.6382, allocations: 318.2 kB / 1.102 GB, free: 37.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6382, allocations: 7.219 kB / 1.102 GB, free: 37.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.6382, allocations: 13.69 kB / 1.102 GB, free: 37.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6382, allocations: 0 / 1.102 GB, free: 37.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6382, allocations: 3.906 kB / 1.102 GB, free: 37.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6383, allocations: 0 / 1.102 GB, free: 37.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6383, allocations: 0 / 1.102 GB, free: 37.83 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001241/0.6384, allocations: 174.5 kB / 1.102 GB, free: 37.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.6384, allocations: 77.11 kB / 1.102 GB, free: 37.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.6385, allocations: 3.875 kB / 1.102 GB, free: 37.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.6385, allocations: 15.2 kB / 1.102 GB, free: 37.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.6386, allocations: 7.297 kB / 1.102 GB, free: 37.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.6386, allocations: 6.531 kB / 1.102 GB, free: 37.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.185e-05/0.6386, allocations: 83.42 kB / 1.102 GB, free: 37.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000232/0.6389, allocations: 9.938 kB / 1.102 GB, free: 37.51 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 9.12e-05/0.639, allocations: 109.9 kB / 1.102 GB, free: 37.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.6391, allocations: 50.47 kB / 1.102 GB, free: 37.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6391, allocations: 0 / 1.102 GB, free: 37.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.6391, allocations: 24.69 kB / 1.102 GB, free: 37.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.6393, allocations: 7.641 kB / 1.102 GB, free: 37.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.6396, allocations: 85.58 kB / 1.102 GB, free: 37.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.6398, allocations: 0.7074 MB / 1.103 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.6398, allocations: 64 / 1.103 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.002225/0.642, allocations: 0.7232 MB / 1.104 GB, free: 36.55 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)