Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [: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.147/2.147, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001546/0.001546, allocations: 177.3 kB / 319.6 MB, free: 3.328 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.006/2.006, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001266/0.001265, allocations: 98.88 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.788e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.648/0.8543, allocations: 131.4 MB / 1.016 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.8547, allocations: 82.97 kB / 1.016 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00449/0.8592, allocations: 0.857 MB / 1.017 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8592, allocations: 0 / 1.017 GB, free: 6.07 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003506/0.8596, allocations: 344.8 kB / 1.018 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8597, allocations: 8.031 kB / 1.018 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.8597, allocations: 7.906 kB / 1.018 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.8598, allocations: 178.9 kB / 1.018 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.8599, allocations: 3.906 kB / 1.018 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.8599, allocations: 0 / 1.018 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001087/0.86, allocations: 35.67 kB / 1.018 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.8603, allocations: 154.3 kB / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.8603, allocations: 0 / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.8603, allocations: 11.98 kB / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.8604, allocations: 26.36 kB / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008236/0.8612, allocations: 0.8707 MB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.8613, allocations: 168.4 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.8614, allocations: 80.14 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.8614, allocations: 75.28 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.8616, allocations: 120.2 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.8616, allocations: 0 / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.956e-05/0.8617, allocations: 33.61 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.8619, allocations: 319 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.862, allocations: 152.9 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.8621, allocations: 26.55 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.8622, allocations: 148.8 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.8622, allocations: 4 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.8622, allocations: 4 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8624, allocations: 314.3 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.8625, allocations: 26.8 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.8627, allocations: 222.5 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.8628, allocations: 63.58 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.8628, allocations: 4 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003972/0.8633, allocations: 166.4 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8633, allocations: 4 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.8633, allocations: 4.656 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.8633, allocations: 8 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.8636, allocations: 39.92 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.8636, allocations: 19.86 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.8637, allocations: 19.75 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.8638, allocations: 12 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001346/0.8639, allocations: 191.6 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.864, allocations: 112.9 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.8641, allocations: 112.6 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.986e-05/0.8642, allocations: 187.6 kB / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.006e-05/0.8643, allocations: 176.6 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.858e-05/0.8643, allocations: 176.3 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.8646, allocations: 411 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/0.8647, allocations: 101 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.8647, allocations: 105 kB / 1.022 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/0.8648, allocations: 184.2 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.8649, allocations: 176.3 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.908e-05/0.865, allocations: 183.5 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001304/0.8651, allocations: 181.8 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001653/0.8653, allocations: 314.4 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.8654, allocations: 186 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.8655, allocations: 180.5 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8656, allocations: 108.9 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.8657, allocations: 180.3 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.8658, allocations: 109.8 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001169/0.8659, allocations: 117.2 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004645/0.8664, allocations: 20 kB / 1.024 GB, free: 14.57 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0002436/0.8667, allocations: 182.5 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.8669, allocations: 70.98 kB / 1.024 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.8669, allocations: 4.125 kB / 1.024 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.8669, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.8673, allocations: 0.5295 MB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.8676, allocations: 182.2 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.868, allocations: 0.7081 MB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.868, allocations: 3.938 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.006645/0.8747, allocations: 1.766 MB / 1.028 GB, free: 11.12 MB / 0.6511 GB