Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal") [: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.34/1.34, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.000915/0.000915, allocations: 173.3 kB / 361.1 MB, free: 7.109 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.081/1.081, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.0008042/0.0008041, allocations: 88.53 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.437e-06/9.457e-06, allocations: 4 kB / 0.8511 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.443, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5797, allocations: 137.1 MB / 1.098 GB, free: 2.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.5799, allocations: 71.81 kB / 1.098 GB, free: 2.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002034/0.582, allocations: 485 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.582, allocations: 0 / 1.098 GB, free: 2.414 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003004/0.5823, allocations: 340.8 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.5824, allocations: 9.312 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.5824, allocations: 4.406 kB / 1.098 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5825, allocations: 167.1 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5825, allocations: 0.8438 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.5825, allocations: 5.156 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.906e-05/0.5826, allocations: 21.27 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.5e-05/0.5827, allocations: 38.39 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5827, allocations: 3.938 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.5827, allocations: 1.5 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5827, allocations: 0 / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.5831, allocations: 256.9 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.5831, allocations: 31.97 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.5832, allocations: 17.5 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.5832, allocations: 0.625 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.5832, allocations: 35.28 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5833, allocations: 0.5312 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/0.5834, allocations: 50.22 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.5835, allocations: 54.25 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.5835, allocations: 95.31 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.5836, allocations: 30.36 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.5836, allocations: 84.77 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.5836, allocations: 7.938 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.5836, allocations: 0.5312 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.5837, allocations: 319.4 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.5838, allocations: 13 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.5838, allocations: 4 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.5838, allocations: 16.08 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5838, allocations: 0 / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.728e-05/0.5839, allocations: 41.7 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.5839, allocations: 4 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5839, allocations: 4 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.584, allocations: 4.5 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.321e-05/0.5841, allocations: 11.94 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.5841, allocations: 4.031 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.5841, allocations: 15.89 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.5842, allocations: 0 / 1.1 GB, free: 0.5859 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 (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 5.361e-05/0.5842, allocations: 101 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.5842, allocations: 5.594 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.5844, allocations: 57.2 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5844, allocations: 4.828 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.5844, allocations: 6.188 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5844, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.5845, allocations: 135 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5845, allocations: 0 / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.5846, allocations: 19.98 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5846, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.5846, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5846, allocations: 9.156 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5846, allocations: 3.938 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000111/0.5847, allocations: 139.5 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.5848, allocations: 85 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.5848, allocations: 1.547 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.5849, allocations: 12.03 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.5849, allocations: 3.984 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.585, allocations: 0.8438 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.357e-05/0.585, allocations: 88.59 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002002/0.5852, allocations: 8 kB / 1.1 GB, free: 15.84 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 (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.000139/0.5853, allocations: 103 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.5854, allocations: 23.92 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.5855, allocations: 8 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/0.5855, allocations: 12 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.5856, allocations: 7.25 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.5859, allocations: 60.73 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.5861, allocations: 0.6927 MB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5861, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002391/0.5885, allocations: 0.5112 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)