Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.304/2.304, allocations: 253.1 MB / 260.4 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001712, allocations: 177.3 kB / 319.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001228, allocations: 102.5 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.159e-05/1.163e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1991, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6855/0.8847, allocations: 131.7 MB / 1.017 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.885, allocations: 70.14 kB / 1.017 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003377/0.8884, allocations: 491.5 kB / 1.017 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.8884, allocations: 0 / 1.017 GB, free: 6.156 MB / 0.6355 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.0004857/0.8889, allocations: 346.1 kB / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.889, allocations: 12.02 kB / 1.018 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.889, allocations: 0 / 1.018 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.8892, allocations: 170.9 kB / 1.018 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.8892, allocations: 0 / 1.018 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.8892, allocations: 0 / 1.018 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/0.8894, allocations: 11.88 kB / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.8895, allocations: 45.3 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8895, allocations: 3.188 kB / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.8895, allocations: 0 / 1.018 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8895, allocations: 6.516 kB / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.8901, allocations: 252 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.595e-05/0.8902, allocations: 41.5 kB / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.8902, allocations: 12.92 kB / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.8903, allocations: 0 / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.8903, allocations: 34.12 kB / 1.018 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.8903, allocations: 0 / 1.018 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002641/0.8906, allocations: 49.53 kB / 1.018 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.8907, allocations: 55.41 kB / 1.018 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.8908, allocations: 96.78 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.8908, allocations: 25.7 kB / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.8909, allocations: 88.97 kB / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.8909, allocations: 7.844 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.8909, allocations: 0 / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8911, allocations: 314 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.8911, allocations: 7.938 kB / 1.019 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.8911, allocations: 7.312 kB / 1.019 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.8912, allocations: 19.67 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8912, allocations: 0 / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001442/0.8914, allocations: 49.03 kB / 1.019 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8914, allocations: 10.44 kB / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8914, allocations: 0 / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8915, allocations: 0 / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.8916, allocations: 15.94 kB / 1.019 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8916, allocations: 3.984 kB / 1.019 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.8917, allocations: 12.03 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.8918, allocations: 0 / 1.019 GB, free: 4.352 MB / 0.6355 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 8.66e-05/0.8919, allocations: 101 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.8919, allocations: 3.906 kB / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.8921, allocations: 68.06 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8922, allocations: 4.031 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8922, allocations: 0 / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8922, allocations: 0 / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.8924, allocations: 148.6 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8924, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.8925, allocations: 8 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8925, allocations: 0 / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.8926, allocations: 4 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8926, allocations: 7.984 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8926, allocations: 0 / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001926/0.8928, allocations: 142.3 kB / 1.019 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.8929, allocations: 85.05 kB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.8929, allocations: 0 / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.893, allocations: 12.02 kB / 1.019 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.8931, allocations: 7.906 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.8931, allocations: 0 / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.086e-05/0.8932, allocations: 82.66 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003089/0.8935, allocations: 8 kB / 1.019 GB, free: 3.621 MB / 0.6355 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.0001882/0.8937, allocations: 103.2 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.8938, allocations: 18.88 kB / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8938, allocations: 64 / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.8939, allocations: 8 kB / 1.02 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.8941, allocations: 4 kB / 1.02 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.8944, allocations: 70.47 kB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.8948, allocations: 0.6957 MB / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.8948, allocations: 0 / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.003311/0.8981, allocations: 0.5122 MB / 1.021 GB, free: 2.18 MB / 0.6355 GB