Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") [: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/Complex 4.0.0+maint.om/package.mo): time 0.0009881/0.0009882, allocations: 189.4 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4388/0.4388, allocations: 90.86 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 221.4 MB / 342.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 92.58 kB / 415.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.402e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09438/0.3766, allocations: 99.97 MB / 0.6505 GB, free: 10.05 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.3768, allocations: 63.97 kB / 0.6506 GB, free: 9.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.0002905/0.3771, allocations: 60.72 kB / 0.6506 GB, free: 9.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3771, allocations: 0 / 0.6506 GB, free: 9.93 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001697/0.3773, allocations: 307.6 kB / 0.6509 GB, free: 9.586 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3773, allocations: 8.531 kB / 0.6509 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.3773, allocations: 3.906 kB / 0.6509 GB, free: 9.574 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.018e-05/0.3774, allocations: 159.8 kB / 0.6511 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3774, allocations: 0 / 0.6511 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.3774, allocations: 0.5 kB / 0.6511 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.85e-05/0.3775, allocations: 6.281 kB / 0.6511 GB, free: 9.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.018e-05/0.3775, allocations: 31.66 kB / 0.6511 GB, free: 9.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3775, allocations: 0 / 0.6511 GB, free: 9.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.3775, allocations: 3.938 kB / 0.6511 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3776, allocations: 1.688 kB / 0.6511 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.244e-05/0.3777, allocations: 127.1 kB / 0.6513 GB, free: 9.176 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.009e-05/0.3777, allocations: 26.98 kB / 0.6513 GB, free: 9.145 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.3777, allocations: 8.859 kB / 0.6513 GB, free: 9.133 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.3777, allocations: 4.875 kB / 0.6513 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3778, allocations: 31.31 kB / 0.6513 GB, free: 9.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3778, allocations: 0.9375 kB / 0.6513 GB, free: 9.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 8.836e-05/0.3779, allocations: 33.69 kB / 0.6514 GB, free: 9.051 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.3779, allocations: 53.28 kB / 0.6514 GB, free: 8.988 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.81e-05/0.3779, allocations: 85 kB / 0.6515 GB, free: 8.898 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.3779, allocations: 25.7 kB / 0.6515 GB, free: 8.867 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.141e-05/0.378, allocations: 80.14 kB / 0.6516 GB, free: 8.785 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.378, allocations: 4.938 kB / 0.6516 GB, free: 8.781 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-06/0.378, allocations: 0 / 0.6516 GB, free: 8.781 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.3781, allocations: 311.6 kB / 0.6519 GB, free: 8.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.3781, allocations: 4 kB / 0.6519 GB, free: 8.465 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.3781, allocations: 8.875 kB / 0.6519 GB, free: 8.457 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.112e-05/0.3781, allocations: 0.875 kB / 0.6519 GB, free: 8.457 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3781, allocations: 2.25 kB / 0.6519 GB, free: 8.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.115e-05/0.3781, allocations: 30.7 kB / 0.6519 GB, free: 8.422 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.3782, allocations: 8 kB / 0.6519 GB, free: 8.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3782, allocations: 3.281 kB / 0.652 GB, free: 8.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.3782, allocations: 4.609 kB / 0.652 GB, free: 8.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.124e-05/0.3782, allocations: 4.641 kB / 0.652 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3782, allocations: 0 / 0.652 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.787e-06/0.3783, allocations: 0.9688 kB / 0.652 GB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3783, allocations: 7.906 kB / 0.652 GB, free: 8.398 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.867e-05/0.3783, allocations: 103.9 kB / 0.6521 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.3783, allocations: 0.875 kB / 0.6521 GB, free: 8.293 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.3784, allocations: 3 kB / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.3784, allocations: 1.062 kB / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3784, allocations: 0 / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3784, allocations: 1.938 kB / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.739e-05/0.3784, allocations: 134.9 kB / 0.6522 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3784, allocations: 0 / 0.6522 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.3785, allocations: 4.438 kB / 0.6522 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3785, allocations: 4.688 kB / 0.6522 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.3785, allocations: 0 / 0.6522 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.3785, allocations: 0.6875 kB / 0.6522 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3785, allocations: 4 kB / 0.6522 GB, free: 8.109 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.151e-05/0.3785, allocations: 58.61 kB / 0.6523 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3786, allocations: 81.66 kB / 0.6523 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.3786, allocations: 1.5 kB / 0.6524 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.3786, allocations: 0.75 kB / 0.6524 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-06/0.3786, allocations: 0.7812 kB / 0.6524 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.3786, allocations: 5.188 kB / 0.6524 GB, free: 7.934 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.255e-05/0.3787, allocations: 76 kB / 0.6524 GB, free: 7.859 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.3789, allocations: 0 / 0.6524 GB, free: 7.859 MB / 474.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 6.715e-05/0.3789, allocations: 92.16 kB / 0.6525 GB, free: 7.758 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 4.504e-05/0.379, allocations: 9.469 kB / 0.6525 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.379, allocations: 0 / 0.6525 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.379, allocations: 0 / 0.6525 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.802e-05/0.3791, allocations: 4.656 kB / 0.6525 GB, free: 7.746 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.3793, allocations: 53.55 kB / 0.6526 GB, free: 7.672 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.3795, allocations: 0.6802 MB / 0.6532 GB, free: 6.965 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3795, allocations: 1.969 kB / 0.6532 GB, free: 6.965 MB / 474.7 MB Notification: Performance of Templates: time 0.001349/0.3809, allocations: 165 kB / 0.6534 GB, free: 6.836 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)