Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.748/2.748, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 177.2 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001254, allocations: 81.52 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.631e-05, allocations: 4 kB / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6161, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.8271, allocations: 136.3 MB / 1.096 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.8274, allocations: 76.61 kB / 1.096 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001377/0.8288, allocations: 173.7 kB / 1.096 GB, free: 4.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8289, allocations: 0 / 1.096 GB, free: 4.25 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.0002562/0.8291, allocations: 307.6 kB / 1.096 GB, free: 3.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.8292, allocations: 12.03 kB / 1.096 GB, free: 3.898 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.8292, allocations: 3.75 kB / 1.096 GB, free: 3.898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.8294, allocations: 163.7 kB / 1.097 GB, free: 3.699 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.8294, allocations: 3.906 kB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.8294, allocations: 3.406 kB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.497e-05/0.8295, allocations: 0 / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.489e-05/0.8296, allocations: 34.41 kB / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8296, allocations: 0 / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8296, allocations: 1.484 kB / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8296, allocations: 0 / 1.097 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.8297, allocations: 123 kB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.284e-05/0.8298, allocations: 23.48 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.8298, allocations: 5.672 kB / 1.097 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.8299, allocations: 4.062 kB / 1.097 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.8299, allocations: 35.53 kB / 1.097 GB, free: 3.414 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.8299, allocations: 1.203 kB / 1.097 GB, free: 3.414 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001974/0.8302, allocations: 39.16 kB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.8302, allocations: 51.41 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.8302, allocations: 85 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.8303, allocations: 26.52 kB / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.8303, allocations: 80.14 kB / 1.097 GB, free: 3.105 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.8303, allocations: 0.5938 kB / 1.097 GB, free: 3.105 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.8304, allocations: 4 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8305, allocations: 311.7 kB / 1.097 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.8305, allocations: 4.5 kB / 1.097 GB, free: 2.785 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.8305, allocations: 0.5312 kB / 1.097 GB, free: 2.785 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.8306, allocations: 8.469 kB / 1.097 GB, free: 2.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8306, allocations: 4.406 kB / 1.097 GB, free: 2.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.8307, allocations: 34.97 kB / 1.097 GB, free: 2.734 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8307, allocations: 4 kB / 1.097 GB, free: 2.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8308, allocations: 4 kB / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.8308, allocations: 2.906 kB / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.8309, allocations: 0 / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8309, allocations: 0 / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.8309, allocations: 3.938 kB / 1.097 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.8309, allocations: 4.594 kB / 1.097 GB, free: 2.719 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 8.265e-05/0.831, allocations: 110.3 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.831, allocations: 5.219 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.8312, allocations: 48.64 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8313, allocations: 0 / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8313, allocations: 2 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8313, allocations: 1.594 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.613e-05/0.8314, allocations: 126.2 kB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8314, allocations: 4.594 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.8314, allocations: 0 / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8315, allocations: 5.031 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.8315, allocations: 0.6094 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8315, allocations: 0 / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.8315, allocations: 4.969 kB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001251/0.8316, allocations: 57.97 kB / 1.098 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.8317, allocations: 77.61 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.8317, allocations: 8.094 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.696e-05/0.8317, allocations: 7.938 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.8318, allocations: 0 / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.8318, allocations: 1.062 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.884e-05/0.8318, allocations: 75.28 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002584/0.8321, allocations: 4 kB / 1.098 GB, free: 2.117 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.0002627/0.8324, allocations: 103.2 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.8325, allocations: 6.062 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8325, allocations: 4.062 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.8325, allocations: 7.938 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.8327, allocations: 0 / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.8329, allocations: 48.02 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.8332, allocations: 0.6851 MB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.8332, allocations: 0 / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of Templates: time 0.002827/0.836, allocations: 312.2 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)