Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") [: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.6751/0.6751, 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.001124/0.001125, allocations: 193.3 kB / 164.4 MB, free: 6.863 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.435/1.435, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001139/0.001139, allocations: 86.56 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.292e-05, allocations: 4 kB / 0.546 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2139, allocations: 76.75 MB / 0.6209 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5412/0.7552, allocations: 101.7 MB / 0.7203 GB, free: 10.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.7556, allocations: 71.95 kB / 0.7203 GB, free: 10.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.002626/0.7582, allocations: 0.491 MB / 0.7208 GB, free: 9.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.7583, allocations: 0 / 0.7208 GB, free: 9.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004182/0.7587, allocations: 338.4 kB / 0.7211 GB, free: 9.605 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.7588, allocations: 8.031 kB / 0.7212 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.7588, allocations: 7.906 kB / 0.7212 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.759, allocations: 167.1 kB / 0.7213 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.759, allocations: 0 / 0.7213 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.759, allocations: 8 kB / 0.7213 GB, free: 9.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.7591, allocations: 15.98 kB / 0.7213 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.731e-05/0.7592, allocations: 37.47 kB / 0.7214 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.7593, allocations: 0 / 0.7214 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.7593, allocations: 3.906 kB / 0.7214 GB, free: 9.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7593, allocations: 7.984 kB / 0.7214 GB, free: 9.312 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.7598, allocations: 249.5 kB / 0.7216 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.7599, allocations: 30.61 kB / 0.7217 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.7599, allocations: 8.922 kB / 0.7217 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-05/0.76, allocations: 4 kB / 0.7217 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.7601, allocations: 46.41 kB / 0.7217 GB, free: 8.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.7601, allocations: 0 / 0.7217 GB, free: 8.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002878/0.7604, allocations: 45.69 kB / 0.7218 GB, free: 8.871 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.7604, allocations: 51.41 kB / 0.7218 GB, free: 8.809 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.7605, allocations: 102.2 kB / 0.7219 GB, free: 8.703 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.7605, allocations: 25.7 kB / 0.7219 GB, free: 8.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.7606, allocations: 80.14 kB / 0.722 GB, free: 8.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.7606, allocations: 7.844 kB / 0.722 GB, free: 8.582 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.7606, allocations: 4.031 kB / 0.722 GB, free: 8.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7607, allocations: 318.8 kB / 0.7223 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.7608, allocations: 4 kB / 0.7223 GB, free: 8.254 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.7608, allocations: 11.98 kB / 0.7223 GB, free: 8.242 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.682e-05/0.7609, allocations: 4 kB / 0.7223 GB, free: 8.238 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7609, allocations: 0 / 0.7223 GB, free: 8.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001273/0.761, allocations: 54.28 kB / 0.7224 GB, free: 8.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.761, allocations: 8 kB / 0.7224 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7611, allocations: 4.094 kB / 0.7224 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7611, allocations: 0 / 0.7224 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.7612, allocations: 11.98 kB / 0.7224 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7612, allocations: 0 / 0.7224 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.7613, allocations: 8.5 kB / 0.7224 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.7613, allocations: 4 kB / 0.7224 GB, free: 8.145 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 (2): * Single equations (assignments): 2 * 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.927e-05/0.7614, allocations: 113.9 kB / 0.7225 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.7614, allocations: 4 kB / 0.7225 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.7616, allocations: 53.31 kB / 0.7226 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7616, allocations: 0 / 0.7226 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.7617, allocations: 1.812 kB / 0.7226 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.7617, allocations: 10.52 kB / 0.7226 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.7618, allocations: 138.2 kB / 0.7227 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7618, allocations: 0 / 0.7227 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.7619, allocations: 23.95 kB / 0.7228 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7619, allocations: 0 / 0.7228 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.7619, allocations: 0 / 0.7228 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.762, allocations: 3.938 kB / 0.7228 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.762, allocations: 0 / 0.7228 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000188/0.7622, allocations: 151.5 kB / 0.7229 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.7622, allocations: 77.11 kB / 0.723 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.7622, allocations: 3.906 kB / 0.723 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.7623, allocations: 13.8 kB / 0.723 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.7624, allocations: 0 / 0.723 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7624, allocations: 4 kB / 0.723 GB, free: 7.484 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.513e-05/0.7624, allocations: 83.28 kB / 0.7231 GB, free: 7.402 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.7627, allocations: 16.02 kB / 0.7231 GB, free: 7.387 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 (2): * Single equations (assignments): 2 * 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.0001988/0.7629, allocations: 99.25 kB / 0.7232 GB, free: 7.277 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.763, allocations: 19.94 kB / 0.7232 GB, free: 7.258 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.763, allocations: 0 / 0.7232 GB, free: 7.258 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.763, allocations: 8 kB / 0.7232 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.7632, allocations: 0 / 0.7232 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.7635, allocations: 71.97 kB / 0.7233 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.7638, allocations: 0.6919 MB / 0.724 GB, free: 6.438 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7638, allocations: 0 / 0.724 GB, free: 6.438 MB / 490.7 MB Notification: Performance of Templates: time 0.003154/0.767, allocations: 0.5276 MB / 0.7245 GB, free: 5.918 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)