Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.2 kB / 7.802 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.5006/0.5006, allocations: 90.85 MB / 99.07 MB, free: 8.934 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.226/1.226, allocations: 221.4 MB / 342.8 MB, free: 4.656 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.0009175/0.0009175, allocations: 96.59 kB / 415.5 MB, free: 14.2 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.548e-06, allocations: 4 kB / 493.9 MB, free: 7.582 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.367, allocations: 72.31 MB / 0.5529 GB, free: 61.91 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.4857, allocations: 99.99 MB / 0.6506 GB, free: 6.164 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4859, allocations: 72.66 kB / 0.6506 GB, free: 6.094 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.0009734/0.4869, allocations: 172.5 kB / 0.6508 GB, free: 5.934 MB / 466.8 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.4869, allocations: 0 / 0.6508 GB, free: 5.934 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000206/0.4871, allocations: 305.3 kB / 0.6511 GB, free: 5.594 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4872, allocations: 12.03 kB / 0.6511 GB, free: 5.582 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.4872, allocations: 2.031 kB / 0.6511 GB, free: 5.582 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.4873, allocations: 162.4 kB / 0.6513 GB, free: 5.387 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4873, allocations: 0 / 0.6513 GB, free: 5.387 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.4873, allocations: 3.875 kB / 0.6513 GB, free: 5.387 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.382e-05/0.4874, allocations: 4 kB / 0.6513 GB, free: 5.383 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.175e-05/0.4874, allocations: 34.28 kB / 0.6513 GB, free: 5.344 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4875, allocations: 0.75 kB / 0.6513 GB, free: 5.344 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.4875, allocations: 0 / 0.6513 GB, free: 5.344 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4875, allocations: 0.875 kB / 0.6513 GB, free: 5.344 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.4876, allocations: 130.8 kB / 0.6514 GB, free: 5.18 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.189e-05/0.4876, allocations: 19.7 kB / 0.6514 GB, free: 5.152 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.4877, allocations: 9.266 kB / 0.6514 GB, free: 5.145 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.4877, allocations: 8.672 kB / 0.6515 GB, free: 5.137 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4877, allocations: 32.7 kB / 0.6515 GB, free: 5.098 MB / 466.8 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.4877, allocations: 0.5 kB / 0.6515 GB, free: 5.098 MB / 466.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.4879, allocations: 38.47 kB / 0.6515 GB, free: 5.055 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.4879, allocations: 51.41 kB / 0.6516 GB, free: 4.992 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.176e-05/0.488, allocations: 85.75 kB / 0.6517 GB, free: 4.902 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.488, allocations: 26.2 kB / 0.6517 GB, free: 4.871 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.488, allocations: 81.02 kB / 0.6518 GB, free: 4.789 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.488, allocations: 7.906 kB / 0.6518 GB, free: 4.781 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.488, allocations: 0 / 0.6518 GB, free: 4.781 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.4881, allocations: 315.5 kB / 0.6521 GB, free: 4.465 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.4882, allocations: 0.9375 kB / 0.6521 GB, free: 4.465 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.4882, allocations: 0 / 0.6521 GB, free: 4.465 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.4882, allocations: 4.938 kB / 0.6521 GB, free: 4.461 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4882, allocations: 4.438 kB / 0.6521 GB, free: 4.457 MB / 466.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.65e-05/0.4883, allocations: 37.28 kB / 0.6521 GB, free: 4.418 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.4883, allocations: 8 kB / 0.6521 GB, free: 4.41 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4883, allocations: 0 / 0.6521 GB, free: 4.41 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.4883, allocations: 0 / 0.6521 GB, free: 4.41 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.4884, allocations: 0 / 0.6521 GB, free: 4.41 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4884, allocations: 0 / 0.6521 GB, free: 4.41 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.4884, allocations: 7.875 kB / 0.6521 GB, free: 4.402 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.4884, allocations: 4 kB / 0.6521 GB, free: 4.398 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 (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.342e-05/0.4885, allocations: 104.9 kB / 0.6522 GB, free: 4.289 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.4885, allocations: 1.656 kB / 0.6522 GB, free: 4.289 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.4886, allocations: 50.88 kB / 0.6523 GB, free: 4.242 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4886, allocations: 2.438 kB / 0.6523 GB, free: 4.242 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4886, allocations: 0 / 0.6523 GB, free: 4.242 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4886, allocations: 0 / 0.6523 GB, free: 4.242 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.658e-05/0.4887, allocations: 134.1 kB / 0.6524 GB, free: 4.074 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4887, allocations: 0 / 0.6524 GB, free: 4.074 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.4887, allocations: 2.688 kB / 0.6524 GB, free: 4.074 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4888, allocations: 2.188 kB / 0.6524 GB, free: 4.074 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.4888, allocations: 0.8438 kB / 0.6524 GB, free: 4.074 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4888, allocations: 4 kB / 0.6524 GB, free: 4.07 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4888, allocations: 1.562 kB / 0.6524 GB, free: 4.07 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.239e-05/0.4889, allocations: 63.16 kB / 0.6525 GB, free: 3.992 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.4889, allocations: 77.11 kB / 0.6526 GB, free: 3.898 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.4889, allocations: 4 kB / 0.6526 GB, free: 3.895 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.4889, allocations: 0 / 0.6526 GB, free: 3.895 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-06/0.4889, allocations: 2 kB / 0.6526 GB, free: 3.895 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.489, allocations: 4 kB / 0.6526 GB, free: 3.891 MB / 466.8 MB Notification: Performance of sort global known variables: time 2.121e-05/0.489, allocations: 77.62 kB / 0.6526 GB, free: 3.816 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.0001817/0.4892, allocations: 5.625 kB / 0.6526 GB, free: 3.812 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 (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.0001438/0.4893, allocations: 111 kB / 0.6528 GB, free: 3.699 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 4.929e-05/0.4894, allocations: 4 kB / 0.6528 GB, free: 3.695 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.4894, allocations: 0 / 0.6528 GB, free: 3.695 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.4894, allocations: 4 kB / 0.6528 GB, free: 3.691 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.686e-05/0.4895, allocations: 7.875 kB / 0.6528 GB, free: 3.684 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001355/0.4896, allocations: 43.98 kB / 0.6528 GB, free: 3.617 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.4899, allocations: 0.6867 MB / 0.6535 GB, free: 2.906 MB / 466.8 MB Notification: Performance of SimCode: time 2.5e-07/0.4899, allocations: 0 / 0.6535 GB, free: 2.906 MB / 466.8 MB Notification: Performance of Templates: time 0.001801/0.4917, allocations: 311.5 kB / 0.6538 GB, free: 2.629 MB / 466.8 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)