Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") [: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.6904/0.6904, allocations: 127.3 MB / 134.6 MB, free: 4.086 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.001396/0.001396, allocations: 185.3 kB / 164.4 MB, free: 6.883 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.603/1.603, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009534/0.0009532, allocations: 97.16 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.217e-05/1.219e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6361/0.8465, allocations: 101.1 MB / 0.7196 GB, free: 11.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.8469, allocations: 75.95 kB / 0.7197 GB, free: 11.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.001535/0.8485, allocations: 248.2 kB / 0.7199 GB, free: 11.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.8485, allocations: 0 / 0.7199 GB, free: 11.04 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.0002773/0.8488, allocations: 312.3 kB / 0.7202 GB, free: 10.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.8488, allocations: 8.031 kB / 0.7202 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.8491, allocations: 19.97 kB / 0.7203 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.8492, allocations: 163 kB / 0.7204 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.8492, allocations: 0 / 0.7204 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.8493, allocations: 0 / 0.7204 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.057e-05/0.8493, allocations: 7.984 kB / 0.7204 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.395e-05/0.8494, allocations: 25.7 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8494, allocations: 3.906 kB / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8495, allocations: 0 / 0.7204 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8495, allocations: 4 kB / 0.7204 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.8496, allocations: 130.2 kB / 0.7206 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.476e-05/0.8497, allocations: 18.58 kB / 0.7206 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.8497, allocations: 8.953 kB / 0.7206 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.8498, allocations: 3.938 kB / 0.7206 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.8498, allocations: 30.56 kB / 0.7206 GB, free: 10.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.615e-06/0.8498, allocations: 0 / 0.7206 GB, free: 10.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.85, allocations: 38.34 kB / 0.7207 GB, free: 10.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.85, allocations: 51.41 kB / 0.7207 GB, free: 10.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/0.8501, allocations: 85 kB / 0.7208 GB, free: 9.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.8501, allocations: 25.7 kB / 0.7208 GB, free: 9.949 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.8501, allocations: 80.14 kB / 0.7209 GB, free: 9.867 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.8502, allocations: 3.906 kB / 0.7209 GB, free: 9.863 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.8502, allocations: 6.188 kB / 0.7209 GB, free: 9.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8504, allocations: 314.8 kB / 0.7212 GB, free: 9.543 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.8504, allocations: 4.031 kB / 0.7212 GB, free: 9.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.8504, allocations: 0 / 0.7212 GB, free: 9.539 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.037e-05/0.8504, allocations: 4 kB / 0.7212 GB, free: 9.535 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8504, allocations: 0 / 0.7212 GB, free: 9.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.034e-05/0.8505, allocations: 38.38 kB / 0.7213 GB, free: 9.492 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8505, allocations: 4 kB / 0.7213 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8505, allocations: 0 / 0.7213 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.8505, allocations: 3.906 kB / 0.7213 GB, free: 9.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.8506, allocations: 4 kB / 0.7213 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.8507, allocations: 5.109 kB / 0.7213 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.8507, allocations: 7.984 kB / 0.7213 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.8507, allocations: 0 / 0.7213 GB, free: 9.469 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 8.673e-05/0.8508, allocations: 104.9 kB / 0.7214 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.8508, allocations: 0 / 0.7214 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.8509, allocations: 3 kB / 0.7214 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8509, allocations: 7.906 kB / 0.7214 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8509, allocations: 0 / 0.7214 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.8509, allocations: 4 kB / 0.7214 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.114e-05/0.851, allocations: 130.2 kB / 0.7215 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.851, allocations: 0 / 0.7215 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.8511, allocations: 4 kB / 0.7215 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.8511, allocations: 0 / 0.7215 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8511, allocations: 0 / 0.7215 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.8511, allocations: 0 / 0.7215 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8511, allocations: 0 / 0.7215 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.288e-05/0.8512, allocations: 75.84 kB / 0.7216 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.8513, allocations: 81.09 kB / 0.7217 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.8513, allocations: 0 / 0.7217 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.8513, allocations: 7.984 kB / 0.7217 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.8513, allocations: 0 / 0.7217 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.8514, allocations: 0 / 0.7217 GB, free: 8.984 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.966e-05/0.8514, allocations: 75.28 kB / 0.7217 GB, free: 8.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.8516, allocations: 0 / 0.7217 GB, free: 8.91 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.000176/0.8518, allocations: 103.2 kB / 0.7218 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.711e-05/0.8519, allocations: 4 kB / 0.7218 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8519, allocations: 0 / 0.7218 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-06/0.8519, allocations: 7.938 kB / 0.7219 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.852, allocations: 0 / 0.7219 GB, free: 8.789 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.8522, allocations: 48.06 kB / 0.7219 GB, free: 8.719 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.8526, allocations: 0.6841 MB / 0.7226 GB, free: 8.008 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8526, allocations: 4.125 kB / 0.7226 GB, free: 8.004 MB / 490.7 MB Notification: Performance of Templates: time 0.00213/0.8547, allocations: 285.6 kB / 0.7228 GB, free: 7.727 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)