Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7174/0.7174, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001034/0.001034, allocations: 192.2 kB / 164.4 MB, free: 6.859 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.503/1.503, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.0009491/0.0009492, allocations: 87.81 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.126e-06/8.156e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.6429, allocations: 101 MB / 0.7196 GB, free: 11.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.6432, allocations: 71.95 kB / 0.7197 GB, free: 11.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.0004619/0.6437, allocations: 62.34 kB / 0.7197 GB, free: 11.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.6437, allocations: 0 / 0.7197 GB, free: 11.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002423/0.644, allocations: 306.6 kB / 0.72 GB, free: 10.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.644, allocations: 12.03 kB / 0.72 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.6441, allocations: 0 / 0.72 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.6442, allocations: 163 kB / 0.7202 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.6442, allocations: 0 / 0.7202 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.6442, allocations: 0 / 0.7202 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.202e-05/0.6443, allocations: 4 kB / 0.7202 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.427e-05/0.6444, allocations: 25.7 kB / 0.7202 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.6444, allocations: 3.906 kB / 0.7202 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.6444, allocations: 0 / 0.7202 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6444, allocations: 0 / 0.7202 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.6446, allocations: 130.2 kB / 0.7203 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.6446, allocations: 22.61 kB / 0.7204 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.6447, allocations: 8.797 kB / 0.7204 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.6447, allocations: 0 / 0.7204 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.6447, allocations: 34.62 kB / 0.7204 GB, free: 10.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.6447, allocations: 0 / 0.7204 GB, free: 10.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.6448, allocations: 34.36 kB / 0.7204 GB, free: 10.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6449, allocations: 51.41 kB / 0.7205 GB, free: 10.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.799e-05/0.6449, allocations: 85 kB / 0.7206 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.6449, allocations: 25.7 kB / 0.7206 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.645, allocations: 80.14 kB / 0.7207 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.645, allocations: 3.906 kB / 0.7207 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.645, allocations: 2.188 kB / 0.7207 GB, free: 10.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6451, allocations: 314.8 kB / 0.721 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.6452, allocations: 8.031 kB / 0.721 GB, free: 9.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.6452, allocations: 0 / 0.721 GB, free: 9.734 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.6452, allocations: 3.984 kB / 0.721 GB, free: 9.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6452, allocations: 3.938 kB / 0.721 GB, free: 9.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.51e-05/0.6453, allocations: 29.7 kB / 0.721 GB, free: 9.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6453, allocations: 8 kB / 0.721 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6453, allocations: 0.5625 kB / 0.721 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6453, allocations: 8.641 kB / 0.721 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.6454, allocations: 0 / 0.721 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.6454, allocations: 96 / 0.721 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.6454, allocations: 4.688 kB / 0.721 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.6454, allocations: 4 kB / 0.721 GB, free: 9.668 MB / 490.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 6.893e-05/0.6455, allocations: 101 kB / 0.7211 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.6455, allocations: 0 / 0.7211 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.6456, allocations: 6.984 kB / 0.7211 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6456, allocations: 7.844 kB / 0.7211 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6456, allocations: 0 / 0.7211 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6456, allocations: 0 / 0.7211 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.463e-05/0.6457, allocations: 134.5 kB / 0.7213 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6457, allocations: 4 kB / 0.7213 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.6457, allocations: 0 / 0.7213 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6457, allocations: 0 / 0.7213 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.6457, allocations: 0 / 0.7213 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6457, allocations: 0 / 0.7213 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.6458, allocations: 4 kB / 0.7213 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.179e-05/0.6458, allocations: 64.97 kB / 0.7213 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.6459, allocations: 77.11 kB / 0.7214 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.6459, allocations: 4.031 kB / 0.7214 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.6459, allocations: 0 / 0.7214 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.6459, allocations: 0 / 0.7214 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.6459, allocations: 4 kB / 0.7214 GB, free: 9.195 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.444e-05/0.646, allocations: 75.28 kB / 0.7215 GB, free: 9.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.6462, allocations: 0 / 0.7215 GB, free: 9.121 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: 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 0.0001179/0.6463, allocations: 99.14 kB / 0.7216 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.811e-05/0.6464, allocations: 8 kB / 0.7216 GB, free: 9.008 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6464, allocations: 0 / 0.7216 GB, free: 9.008 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.6464, allocations: 7.938 kB / 0.7216 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.364e-05/0.6465, allocations: 4 kB / 0.7216 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.6467, allocations: 40.08 kB / 0.7216 GB, free: 8.934 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6469, allocations: 0.6802 MB / 0.7223 GB, free: 8.227 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6469, allocations: 0 / 0.7223 GB, free: 8.227 MB / 490.7 MB Notification: Performance of Templates: time 0.001626/0.6486, allocations: 169.6 kB / 0.7225 GB, free: 8.062 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)