Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") [: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/BuildSysPro 3.5.0/package.mo): time 0.6493/0.6493, allocations: 127.4 MB / 134.6 MB, free: 4.043 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001084, allocations: 177.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 90.69 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.784e-06, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5384, allocations: 102.5 MB / 0.721 GB, free: 9.922 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.5386, allocations: 75.95 kB / 0.7211 GB, free: 9.848 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.002861/0.5415, allocations: 0.7843 MB / 0.7218 GB, free: 9.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.5415, allocations: 4 kB / 0.7218 GB, free: 9.066 MB / 490.7 MB 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.0004225/0.542, allocations: 338.5 kB / 0.7221 GB, free: 8.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.542, allocations: 12.03 kB / 0.7222 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.5421, allocations: 7.891 kB / 0.7222 GB, free: 8.672 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.5422, allocations: 178.9 kB / 0.7223 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5422, allocations: 0 / 0.7223 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.5422, allocations: 4 kB / 0.7223 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.617e-05/0.5423, allocations: 27.98 kB / 0.7224 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.5424, allocations: 53.69 kB / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5424, allocations: 0 / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5425, allocations: 0.6562 kB / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5425, allocations: 0 / 0.7224 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.5429, allocations: 269.3 kB / 0.7227 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.543, allocations: 50.56 kB / 0.7227 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.543, allocations: 21.08 kB / 0.7227 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.543, allocations: 0 / 0.7227 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.064e-05/0.5431, allocations: 77.52 kB / 0.7228 GB, free: 7.898 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5432, allocations: 0 / 0.7228 GB, free: 7.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001743/0.5433, allocations: 69.67 kB / 0.7229 GB, free: 7.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.5434, allocations: 55.34 kB / 0.7229 GB, free: 7.758 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.5435, allocations: 101.7 kB / 0.723 GB, free: 7.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.5435, allocations: 25.7 kB / 0.7231 GB, free: 7.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.5435, allocations: 88.12 kB / 0.7231 GB, free: 7.531 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.5436, allocations: 19.72 kB / 0.7232 GB, free: 7.512 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5436, allocations: 0 / 0.7232 GB, free: 7.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5437, allocations: 318.8 kB / 0.7235 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.5438, allocations: 16 kB / 0.7235 GB, free: 7.176 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.5438, allocations: 39.42 kB / 0.7235 GB, free: 7.125 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.5439, allocations: 24.25 kB / 0.7235 GB, free: 7.102 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5439, allocations: 3.938 kB / 0.7235 GB, free: 7.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.544, allocations: 77.53 kB / 0.7236 GB, free: 7.016 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.544, allocations: 15.97 kB / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.544, allocations: 0 / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5441, allocations: 0 / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.5441, allocations: 19.92 kB / 0.7237 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5442, allocations: 4 kB / 0.7237 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.5442, allocations: 7.906 kB / 0.7237 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.5442, allocations: 4 kB / 0.7237 GB, free: 6.965 MB / 490.7 MB 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 8.505e-05/0.5443, allocations: 118.5 kB / 0.7238 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.5443, allocations: 7.906 kB / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.5444, allocations: 8.062 kB / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.5444, allocations: 0 / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5444, allocations: 0 / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5444, allocations: 0 / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.5448, allocations: 330.9 kB / 0.7241 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5448, allocations: 0 / 0.7241 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.5448, allocations: 4 kB / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5448, allocations: 0 / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.5448, allocations: 4 kB / 0.7241 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5448, allocations: 0 / 0.7241 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5448, allocations: 4.062 kB / 0.7241 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001406/0.545, allocations: 177.8 kB / 0.7243 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.545, allocations: 81.02 kB / 0.7244 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.5451, allocations: 0 / 0.7244 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.5452, allocations: 11.98 kB / 0.7244 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.5452, allocations: 11.98 kB / 0.7244 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.5452, allocations: 0 / 0.7244 GB, free: 6.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.907e-05/0.5453, allocations: 79.47 kB / 0.7245 GB, free: 6.066 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000222/0.5455, allocations: 19.91 kB / 0.7245 GB, free: 6.047 MB / 490.7 MB 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 0.0001152/0.5456, allocations: 103.2 kB / 0.7246 GB, free: 5.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5457, allocations: 39.94 kB / 0.7246 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5457, allocations: 4 kB / 0.7246 GB, free: 5.891 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.5458, allocations: 31.92 kB / 0.7247 GB, free: 5.859 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.546, allocations: 4.703 kB / 0.7247 GB, free: 5.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.5464, allocations: 107.8 kB / 0.7248 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.5467, allocations: 0.7039 MB / 0.7255 GB, free: 4.996 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5467, allocations: 4 kB / 0.7255 GB, free: 4.992 MB / 490.7 MB Notification: Performance of Templates: time 0.00271/0.5495, allocations: 0.717 MB / 0.7262 GB, free: 4.281 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)