Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") [: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.082/2.082, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001648/0.001648, allocations: 185.2 kB / 319.6 MB, free: 3.32 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.881/1.881, 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.001725/0.001725, allocations: 91.33 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.213e-05/1.23e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 106.3 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7662/1.008, allocations: 132.3 MB / 1.017 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.008, allocations: 69.16 kB / 1.017 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02127/1.03, allocations: 3.961 MB / 1.021 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.03, allocations: 0 / 1.021 GB, free: 2.789 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.0006001/1.03, allocations: 381.1 kB / 1.022 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.03, allocations: 8.031 kB / 1.022 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/1.03, allocations: 7.562 kB / 1.022 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/1.031, allocations: 167 kB / 1.022 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.031, allocations: 4 kB / 1.022 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/1.031, allocations: 3.984 kB / 1.022 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.968e-05/1.031, allocations: 11.31 kB / 1.022 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/1.031, allocations: 40.88 kB / 1.022 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.031, allocations: 0 / 1.022 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.031, allocations: 0 / 1.022 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.031, allocations: 4 kB / 1.022 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/1.031, allocations: 252 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/1.031, allocations: 25.95 kB / 1.022 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/1.032, allocations: 11.92 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/1.032, allocations: 461.5 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.033, allocations: 37.94 kB / 1.023 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.033, allocations: 0 / 1.023 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002433/1.033, allocations: 40.48 kB / 1.023 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.033, allocations: 51.41 kB / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/1.033, allocations: 104.8 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/1.033, allocations: 29.73 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/1.033, allocations: 80.14 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/1.033, allocations: 3.906 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.033, allocations: 0 / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.033, allocations: 319.6 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/1.033, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/1.033, allocations: 7.375 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/1.033, allocations: 7.984 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.033, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001469/1.034, allocations: 49.05 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.034, allocations: 4 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.034, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.034, allocations: 0 / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.034, allocations: 19.92 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.034, allocations: 0 / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/1.034, allocations: 15.95 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/1.034, allocations: 4 kB / 1.023 GB, free: 452 kB / 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 7.814e-05/1.034, allocations: 104.9 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/1.034, allocations: 3.906 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/1.034, allocations: 52.45 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.034, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.034, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.034, allocations: 4.031 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/1.035, allocations: 145.3 kB / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.035, allocations: 0 / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/1.035, allocations: 11.98 kB / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/1.035, allocations: 256 / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/1.035, allocations: 0 / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/1.035, allocations: 4 kB / 1.024 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.035, allocations: 0 / 1.024 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003246/1.035, allocations: 150 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/1.035, allocations: 85.05 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/1.035, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.035, allocations: 7.984 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/1.035, allocations: 11.94 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/1.035, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.452e-05/1.036, allocations: 87.02 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003296/1.036, allocations: 16 kB / 1.024 GB, free: 15.7 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 (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.0002143/1.036, allocations: 111.2 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.786e-05/1.036, allocations: 15.06 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.036, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/1.036, allocations: 11.94 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/1.037, allocations: 10.25 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/1.037, allocations: 69.77 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.037, allocations: 0.688 MB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/1.037, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.003507/1.041, allocations: 0.6628 MB / 1.025 GB, free: 14.11 MB / 0.6511 GB