Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.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.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") [: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.00148/0.00148, allocations: 181.4 kB / 7.801 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.46/0.46, allocations: 90.85 MB / 99.07 MB, free: 8.945 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 342.7 MB, free: 4.691 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 93.47 kB / 415.5 MB, free: 14.24 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.113e-05/1.118e-05, allocations: 4 kB / 493.9 MB, free: 7.594 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3398, allocations: 72.31 MB / 0.5529 GB, free: 61.72 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.454, allocations: 100.7 MB / 0.6513 GB, free: 5.352 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4543, allocations: 71.97 kB / 0.6513 GB, free: 5.281 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.002432/0.4567, allocations: 490.6 kB / 0.6518 GB, free: 4.828 MB / 466.8 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4568, allocations: 0 / 0.6518 GB, free: 4.828 MB / 466.8 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.0003606/0.4571, allocations: 345.5 kB / 0.6521 GB, free: 4.449 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4572, allocations: 8.031 kB / 0.6521 GB, free: 4.441 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.4572, allocations: 7.281 kB / 0.6521 GB, free: 4.438 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4573, allocations: 166.9 kB / 0.6523 GB, free: 4.234 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4574, allocations: 3.688 kB / 0.6523 GB, free: 4.234 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4574, allocations: 4 kB / 0.6523 GB, free: 4.23 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.798e-05/0.4575, allocations: 16.64 kB / 0.6523 GB, free: 4.215 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.027e-05/0.4576, allocations: 38.31 kB / 0.6524 GB, free: 4.172 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4576, allocations: 0.9375 kB / 0.6524 GB, free: 4.172 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4576, allocations: 0 / 0.6524 GB, free: 4.172 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4576, allocations: 4 kB / 0.6524 GB, free: 4.168 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.458, allocations: 263.4 kB / 0.6526 GB, free: 3.883 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.4581, allocations: 31.45 kB / 0.6526 GB, free: 3.844 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.4582, allocations: 12.92 kB / 0.6527 GB, free: 3.828 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.4582, allocations: 6.5 kB / 0.6527 GB, free: 3.824 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.4582, allocations: 34.56 kB / 0.6527 GB, free: 3.781 MB / 466.8 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4582, allocations: 0.9062 kB / 0.6527 GB, free: 3.781 MB / 466.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.4584, allocations: 45.61 kB / 0.6527 GB, free: 3.73 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.4585, allocations: 52.25 kB / 0.6528 GB, free: 3.668 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.4586, allocations: 102.5 kB / 0.6529 GB, free: 3.562 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4586, allocations: 25.7 kB / 0.6529 GB, free: 3.531 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.4586, allocations: 80.14 kB / 0.653 GB, free: 3.449 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.4586, allocations: 10 kB / 0.653 GB, free: 3.441 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.4587, allocations: 0 / 0.653 GB, free: 3.441 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.4588, allocations: 326.8 kB / 0.6533 GB, free: 3.113 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.4588, allocations: 4 kB / 0.6533 GB, free: 3.109 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.4588, allocations: 8 kB / 0.6533 GB, free: 3.102 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.4588, allocations: 8.5 kB / 0.6533 GB, free: 3.094 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4589, allocations: 0.5 kB / 0.6533 GB, free: 3.094 MB / 466.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.714e-05/0.459, allocations: 51.03 kB / 0.6534 GB, free: 3.039 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.459, allocations: 8 kB / 0.6534 GB, free: 3.031 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.459, allocations: 0 / 0.6534 GB, free: 3.031 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.459, allocations: 1.125 kB / 0.6534 GB, free: 3.031 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4591, allocations: 18.2 kB / 0.6534 GB, free: 3.016 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.4591, allocations: 0 / 0.6534 GB, free: 3.016 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.4592, allocations: 16.64 kB / 0.6534 GB, free: 3 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.4592, allocations: 0 / 0.6534 GB, free: 3 MB / 466.8 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 6.421e-05/0.4593, allocations: 105 kB / 0.6535 GB, free: 2.891 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4593, allocations: 3.906 kB / 0.6535 GB, free: 2.887 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.4595, allocations: 53.25 kB / 0.6536 GB, free: 2.832 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4595, allocations: 7.75 kB / 0.6536 GB, free: 2.828 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4595, allocations: 4.734 kB / 0.6536 GB, free: 2.824 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4595, allocations: 0 / 0.6536 GB, free: 2.824 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.4596, allocations: 138.1 kB / 0.6537 GB, free: 2.652 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4596, allocations: 4.031 kB / 0.6537 GB, free: 2.648 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.4597, allocations: 15.98 kB / 0.6537 GB, free: 2.633 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4597, allocations: 0 / 0.6537 GB, free: 2.633 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4597, allocations: 0 / 0.6537 GB, free: 2.633 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4598, allocations: 0 / 0.6537 GB, free: 2.633 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4598, allocations: 2.344 kB / 0.6537 GB, free: 2.633 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00013/0.4599, allocations: 155.4 kB / 0.6539 GB, free: 2.465 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.4599, allocations: 77.11 kB / 0.654 GB, free: 2.371 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.46, allocations: 0 / 0.654 GB, free: 2.371 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.46, allocations: 11.98 kB / 0.654 GB, free: 2.359 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.4601, allocations: 0 / 0.654 GB, free: 2.359 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.4601, allocations: 3.984 kB / 0.654 GB, free: 2.355 MB / 466.8 MB Notification: Performance of sort global known variables: time 3.598e-05/0.4601, allocations: 95.22 kB / 0.6541 GB, free: 2.262 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.0002357/0.4604, allocations: 8 kB / 0.6541 GB, free: 2.254 MB / 466.8 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.0001252/0.4605, allocations: 95.25 kB / 0.6542 GB, free: 2.152 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 7.103e-05/0.4606, allocations: 16 kB / 0.6542 GB, free: 2.137 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4606, allocations: 0 / 0.6542 GB, free: 2.137 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.4606, allocations: 19.92 kB / 0.6542 GB, free: 2.117 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.4608, allocations: 0 / 0.6542 GB, free: 2.117 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.461, allocations: 69.81 kB / 0.6543 GB, free: 2.027 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4612, allocations: 0.6932 MB / 0.6549 GB, free: 1.309 MB / 466.8 MB Notification: Performance of SimCode: time 2.71e-07/0.4612, allocations: 0 / 0.6549 GB, free: 1.309 MB / 466.8 MB Notification: Performance of Templates: time 0.002125/0.4634, allocations: 0.5029 MB / 0.6554 GB, free: 0.832 MB / 466.8 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)