Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [: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.212/2.212, allocations: 253.1 MB / 260.4 MB, free: 7.586 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.001752/0.001751, allocations: 181.3 kB / 319.6 MB, free: 3.336 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 1.923/1.923, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001307/0.001307, allocations: 89.66 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/1.016e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6777/0.8788, allocations: 131.1 MB / 1.016 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.8791, allocations: 66.22 kB / 1.016 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006484/0.8856, allocations: 1.066 MB / 1.017 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8857, allocations: 0 / 1.017 GB, free: 6.215 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004258/0.8861, allocations: 337 kB / 1.018 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8862, allocations: 8.031 kB / 1.018 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.8862, allocations: 8 kB / 1.018 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.8864, allocations: 163 kB / 1.018 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.8864, allocations: 4 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.8864, allocations: 0 / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.73e-05/0.8865, allocations: 13.02 kB / 1.018 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.8866, allocations: 41.62 kB / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8866, allocations: 0 / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8867, allocations: 0 / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.8867, allocations: 0 / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.8869, allocations: 140.8 kB / 1.018 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.8869, allocations: 30.59 kB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.887, allocations: 12.92 kB / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.887, allocations: 0 / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.8871, allocations: 34.56 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.8871, allocations: 0 / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0008766/0.888, allocations: 309.3 kB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.888, allocations: 51.41 kB / 1.018 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.8881, allocations: 100.1 kB / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.8882, allocations: 25.7 kB / 1.018 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.8882, allocations: 88.12 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.8883, allocations: 11.09 kB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.8883, allocations: 0 / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8884, allocations: 314.5 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.8884, allocations: 20.02 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.8885, allocations: 33.58 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.8886, allocations: 19.05 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.8887, allocations: 0 / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002363/0.8889, allocations: 68.58 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8889, allocations: 4 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8889, allocations: 4 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.889, allocations: 4.062 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.8891, allocations: 7.984 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.8891, allocations: 7.938 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.8891, allocations: 3.938 kB / 1.019 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.8892, allocations: 4 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.052e-05/0.8892, allocations: 107.5 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.8893, allocations: 0 / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.8896, allocations: 90.36 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8896, allocations: 4 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8896, allocations: 7.891 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8896, allocations: 0 / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.8898, allocations: 137.5 kB / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8898, allocations: 0 / 1.019 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.8899, allocations: 8 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8899, allocations: 0 / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.8899, allocations: 3.25 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8899, allocations: 3.938 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8899, allocations: 0 / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002933/0.8903, allocations: 122 kB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.8903, allocations: 81.02 kB / 1.02 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.8903, allocations: 4.031 kB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.8904, allocations: 4 kB / 1.02 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.8905, allocations: 0 / 1.02 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.8905, allocations: 4 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.639e-05/0.8905, allocations: 90.81 kB / 1.02 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003276/0.8909, allocations: 24 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002556/0.8911, allocations: 127.2 kB / 1.02 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.8913, allocations: 38.8 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8913, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.8913, allocations: 15.25 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.8915, allocations: 0 / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.8918, allocations: 95.94 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.8921, allocations: 0.6994 MB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.8921, allocations: 3.938 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.004334/0.8965, allocations: 0.9188 MB / 1.022 GB, free: 1.5 MB / 0.6355 GB