Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.468/1.468, allocations: 289.8 MB / 297 MB, free: 6.621 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.001036/0.001036, allocations: 181.3 kB / 366.3 MB, free: 1.922 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.394/1.394, allocations: 205.1 MB / 0.6256 GB, free: 5.77 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.001018/0.001018, allocations: 85.92 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.29e-05/1.294e-05, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6377, allocations: 116.3 MB / 0.9726 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.8057, allocations: 137.4 MB / 1.107 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.806, allocations: 85.06 kB / 1.107 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001039/0.807, allocations: 164.5 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8071, allocations: 0 / 1.107 GB, free: 10.8 MB / 0.7136 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.0003386/0.8074, allocations: 310.8 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.8075, allocations: 9.469 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.8075, allocations: 0 / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.8077, allocations: 167.6 kB / 1.107 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.8077, allocations: 4.812 kB / 1.107 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.8077, allocations: 2.719 kB / 1.107 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.333e-05/0.8078, allocations: 0 / 1.107 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.69e-05/0.8079, allocations: 34.17 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8079, allocations: 1.156 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.8079, allocations: 1.594 kB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.8079, allocations: 0 / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.8081, allocations: 126.2 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.458e-05/0.8081, allocations: 19.2 kB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.8082, allocations: 8.859 kB / 1.108 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.8082, allocations: 0 / 1.108 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.8083, allocations: 43.09 kB / 1.108 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8083, allocations: 0 / 1.108 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002723/0.8086, allocations: 33.64 kB / 1.108 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.8086, allocations: 51.41 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.69e-05/0.8087, allocations: 85 kB / 1.108 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8087, allocations: 29.73 kB / 1.108 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.8088, allocations: 80.14 kB / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.8088, allocations: 0 / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.8088, allocations: 0 / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.809, allocations: 314.8 kB / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.809, allocations: 4 kB / 1.108 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.809, allocations: 0 / 1.108 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.8091, allocations: 3.938 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.8091, allocations: 7.906 kB / 1.108 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.8092, allocations: 37.77 kB / 1.108 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8092, allocations: 4 kB / 1.108 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8092, allocations: 0 / 1.108 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8092, allocations: 3.984 kB / 1.108 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.553e-05/0.8093, allocations: 7.938 kB / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8093, allocations: 0.9375 kB / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.8094, allocations: 4.562 kB / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.8094, allocations: 0 / 1.108 GB, free: 9.246 MB / 0.7136 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 9.599e-05/0.8095, allocations: 105 kB / 1.108 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.8095, allocations: 7.938 kB / 1.108 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.8097, allocations: 41.44 kB / 1.108 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8097, allocations: 0 / 1.108 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8097, allocations: 0 / 1.108 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.8097, allocations: 0 / 1.108 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.8098, allocations: 130.3 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8098, allocations: 0.9375 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.8099, allocations: 4 kB / 1.109 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.8099, allocations: 7.891 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.8099, allocations: 0 / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8099, allocations: 0 / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8099, allocations: 0 / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001359/0.8101, allocations: 65.08 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.8101, allocations: 81.09 kB / 1.109 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.8102, allocations: 7.891 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.8102, allocations: 0 / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.8102, allocations: 4.938 kB / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8102, allocations: 0 / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.621e-05/0.8102, allocations: 75.28 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000233/0.8105, allocations: 4 kB / 1.109 GB, free: 8.637 MB / 0.7136 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.0001838/0.8107, allocations: 103.2 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.8107, allocations: 8.031 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8108, allocations: 0 / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.8108, allocations: 11.88 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.8109, allocations: 10.09 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.811, allocations: 40.08 kB / 1.109 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.8114, allocations: 0.6881 MB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8114, allocations: 0 / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of Templates: time 0.002063/0.8135, allocations: 303 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)