Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [: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.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009221/0.0009221, allocations: 185.2 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9812/0.9812, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007785/0.0007785, allocations: 98.42 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.25e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3916, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.5191, allocations: 137.9 MB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.5193, allocations: 89.05 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004794/0.5241, allocations: 1.471 MB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.5242, allocations: 8 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005774/0.5248, allocations: 434.1 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5248, allocations: 12.53 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.5248, allocations: 11.81 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.525, allocations: 182.7 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.525, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.525, allocations: 8.656 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001162/0.5252, allocations: 44 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.5253, allocations: 71.55 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5253, allocations: 4 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5253, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5253, allocations: 8.422 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.526, allocations: 387.8 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.5261, allocations: 51.36 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.5261, allocations: 20.98 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5261, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.5262, allocations: 38.56 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.5262, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001773/0.5264, allocations: 61.59 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.5264, allocations: 51.41 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.5265, allocations: 125.2 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.5265, allocations: 25.7 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.5266, allocations: 110.3 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.5266, allocations: 11.89 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.5266, allocations: 4 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.5267, allocations: 322.8 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.5267, allocations: 16 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.5268, allocations: 23.98 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.5268, allocations: 8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5268, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000119/0.5269, allocations: 80.06 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.527, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.527, allocations: 3.938 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.527, allocations: 0.5156 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.5271, allocations: 15.98 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5271, allocations: 3.938 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.5273, allocations: 35.97 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.5273, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.301e-05/0.5274, allocations: 108.9 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.5274, allocations: 11.89 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.5275, allocations: 20.17 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5275, allocations: 4 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5275, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5275, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5276, allocations: 166.2 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5276, allocations: 0 / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.5277, allocations: 21.67 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5277, allocations: 0 / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5278, allocations: 0 / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5278, allocations: 4 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5278, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001418/0.5279, allocations: 164.9 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.528, allocations: 85 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.528, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.5282, allocations: 35.88 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.5283, allocations: 19.97 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.5283, allocations: 0 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.481e-05/0.5283, allocations: 106.2 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000223/0.5286, allocations: 15.94 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 8.875e-05/0.5286, allocations: 107 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.5288, allocations: 40 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.5288, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.5288, allocations: 27.94 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.529, allocations: 17.95 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.5293, allocations: 120.1 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.5296, allocations: 0.7114 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5296, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.00278/0.5324, allocations: 1.054 MB / 1.105 GB, free: 11.36 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)