Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 181.4 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.037/1.037, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007693/0.0007693, allocations: 85.3 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.355e-06, allocations: 4 kB / 0.8511 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4407, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5797, allocations: 136.5 MB / 1.097 GB, free: 3.605 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.5799, allocations: 78.89 kB / 1.097 GB, free: 3.531 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0009324/0.5809, allocations: 167.2 kB / 1.097 GB, free: 3.375 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5809, allocations: 0 / 1.097 GB, free: 3.375 MB / 0.698 GB 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.000201/0.5811, allocations: 307.6 kB / 1.097 GB, free: 3.035 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5811, allocations: 12.03 kB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.5812, allocations: 0 / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.161e-05/0.5812, allocations: 162.9 kB / 1.098 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5813, allocations: 5.594 kB / 1.098 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.5813, allocations: 0 / 1.098 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.447e-05/0.5813, allocations: 13.06 kB / 1.098 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.821e-05/0.5814, allocations: 29.69 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5814, allocations: 0 / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.5814, allocations: 2.781 kB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5814, allocations: 0 / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.749e-05/0.5815, allocations: 125.4 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.734e-05/0.5815, allocations: 18.61 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.5816, allocations: 4.859 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.5816, allocations: 4.062 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.5816, allocations: 34.47 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.5816, allocations: 0.7031 kB / 1.098 GB, free: 2.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.5818, allocations: 42.94 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.5818, allocations: 52.53 kB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.511e-05/0.5819, allocations: 85.69 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.5819, allocations: 25.7 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.5819, allocations: 81.33 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.5819, allocations: 4 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.5819, allocations: 0.625 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.582, allocations: 312.1 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-06/0.582, allocations: 0 / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.582, allocations: 0 / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.5821, allocations: 4.781 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.5821, allocations: 12.42 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.287e-05/0.5822, allocations: 30.64 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5822, allocations: 11.28 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5822, allocations: 0 / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5822, allocations: 4.469 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.013e-05/0.5823, allocations: 0.5 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.5823, allocations: 0 / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.5823, allocations: 4.781 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5823, allocations: 5.25 kB / 1.099 GB, free: 1.84 MB / 0.698 GB 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 5.108e-05/0.5824, allocations: 109.7 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.5824, allocations: 7.062 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.5825, allocations: 37.31 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.5825, allocations: 0.5625 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5825, allocations: 1.688 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5825, allocations: 3.984 kB / 1.099 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.71e-05/0.5826, allocations: 123.4 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.5826, allocations: 4 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.5826, allocations: 0 / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5826, allocations: 5.047 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.5826, allocations: 0.5312 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.5826, allocations: 0 / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5826, allocations: 8.531 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.191e-05/0.5827, allocations: 58.62 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.5827, allocations: 79.39 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.5828, allocations: 7.906 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.5828, allocations: 0.6562 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.5828, allocations: 0.6875 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5828, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.927e-05/0.5828, allocations: 75.78 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001801/0.583, allocations: 8.734 kB / 1.099 GB, free: 1.246 MB / 0.698 GB 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.0001328/0.5832, allocations: 108.4 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.501e-05/0.5832, allocations: 4.719 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5832, allocations: 0.6875 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-06/0.5832, allocations: 4.594 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.258e-05/0.5833, allocations: 5.062 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001258/0.5835, allocations: 48.78 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5837, allocations: 0.6822 MB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.5837, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of Templates: time 0.001708/0.5854, allocations: 314.8 kB / 1.1 GB, free: 68 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)