Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") [: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.132/2.132, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.002084/0.002083, allocations: 177.3 kB / 319.6 MB, free: 3.285 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.824/1.824, allocations: 205.4 MB / 0.5704 GB, free: 15 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.001284/0.001283, allocations: 95.31 kB / 0.6746 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.968e-06/1.011e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1964, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6601/0.8565, allocations: 131.7 MB / 1.017 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.8568, allocations: 70.19 kB / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003025/0.8599, allocations: 485.8 kB / 1.017 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8599, allocations: 0 / 1.017 GB, free: 6.152 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.0004466/0.8604, allocations: 349.1 kB / 1.017 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8605, allocations: 8.031 kB / 1.017 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.8605, allocations: 4 kB / 1.017 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.8607, allocations: 163 kB / 1.018 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.8607, allocations: 4 kB / 1.018 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.8607, allocations: 3.984 kB / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.963e-05/0.8608, allocations: 10.62 kB / 1.018 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.457e-05/0.8609, allocations: 45.62 kB / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.8609, allocations: 0 / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.861, allocations: 0 / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.861, allocations: 0 / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.8616, allocations: 251.7 kB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.8616, allocations: 26.39 kB / 1.018 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.8617, allocations: 12.05 kB / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/0.8622, allocations: 412 kB / 1.018 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.8622, allocations: 37.5 kB / 1.018 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.8622, allocations: 4 kB / 1.018 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002653/0.8625, allocations: 44.86 kB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.8626, allocations: 55.39 kB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.8627, allocations: 96.5 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.8627, allocations: 25.7 kB / 1.019 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.8628, allocations: 83.7 kB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.8628, allocations: 11.88 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.8628, allocations: 0 / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8629, allocations: 318.8 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.863, allocations: 3.938 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.863, allocations: 4 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.8631, allocations: 7.875 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8631, allocations: 0 / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001457/0.8632, allocations: 44.92 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8633, allocations: 4.094 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8633, allocations: 4 kB / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8633, allocations: 0 / 1.019 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.8635, allocations: 16.77 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8635, allocations: 4 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.8636, allocations: 11.98 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.8636, allocations: 4 kB / 1.019 GB, free: 3.887 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 7.904e-05/0.8637, allocations: 107.3 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.8638, allocations: 3.906 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.864, allocations: 55.95 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.864, allocations: 0 / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.864, allocations: 0 / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.864, allocations: 3.938 kB / 1.019 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.8642, allocations: 141.7 kB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8642, allocations: 8.031 kB / 1.019 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.8643, allocations: 8 kB / 1.019 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.8644, allocations: 0 / 1.019 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.8644, allocations: 3.984 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8644, allocations: 7.5 kB / 1.019 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8644, allocations: 0 / 1.019 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002068/0.8646, allocations: 139.3 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.8647, allocations: 81.11 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.8647, allocations: 3.984 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.8649, allocations: 7.438 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.8649, allocations: 7.906 kB / 1.02 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.8649, allocations: 3.984 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.151e-05/0.865, allocations: 83.31 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003091/0.8653, allocations: 8 kB / 1.02 GB, free: 3.164 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.000194/0.8655, allocations: 98.44 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.8656, allocations: 15.69 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8657, allocations: 0 / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.8657, allocations: 8 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.8659, allocations: 6.375 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.8662, allocations: 67.33 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.8666, allocations: 0.688 MB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.8666, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of Templates: time 0.003395/0.87, allocations: 0.5616 MB / 1.021 GB, free: 1.691 MB / 0.6355 GB