Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.296/2.296, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.00227/0.00227, allocations: 185.2 kB / 319.6 MB, free: 3.312 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.922/1.922, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001279/0.001278, allocations: 89.7 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.523e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2176, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6612/0.8788, allocations: 131 MB / 1.016 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.8791, allocations: 82.31 kB / 1.016 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003616/0.8827, allocations: 0.6224 MB / 1.017 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8828, allocations: 4 kB / 1.017 GB, free: 6.758 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.0003732/0.8832, allocations: 314.1 kB / 1.017 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8833, allocations: 8.031 kB / 1.017 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.8833, allocations: 7.656 kB / 1.017 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.8834, allocations: 167 kB / 1.017 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.8835, allocations: 8 kB / 1.017 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.8835, allocations: 0 / 1.017 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.978e-05/0.8836, allocations: 7.938 kB / 1.017 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.8837, allocations: 33.27 kB / 1.017 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8837, allocations: 3.984 kB / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.8837, allocations: 0 / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.8837, allocations: 3.906 kB / 1.017 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.8839, allocations: 130.2 kB / 1.017 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.884, allocations: 29.7 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.8841, allocations: 16.73 kB / 1.017 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.8846, allocations: 401.5 kB / 1.018 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.8846, allocations: 34.5 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.8846, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002153/0.8848, allocations: 40.88 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.8849, allocations: 55.41 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.092e-05/0.8849, allocations: 85 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.885, allocations: 25.7 kB / 1.018 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.885, allocations: 84.14 kB / 1.018 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.8851, allocations: 11.8 kB / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.8851, allocations: 0 / 1.018 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8852, allocations: 314.5 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.8852, allocations: 4 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.8852, allocations: 0 / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.523e-05/0.8853, allocations: 8 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8853, allocations: 0.8438 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000133/0.8855, allocations: 48.62 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8855, allocations: 7.938 kB / 1.018 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8855, allocations: 0 / 1.018 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.8855, allocations: 3.906 kB / 1.018 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.8857, allocations: 11.98 kB / 1.018 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006086/0.8864, allocations: 0.5854 MB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.8864, allocations: 0 / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.8864, allocations: 0 / 1.019 GB, free: 4.062 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.8866, allocations: 112.9 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.8866, allocations: 0 / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.8868, allocations: 56.08 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.8868, allocations: 0 / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.8868, allocations: 12.08 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8868, allocations: 0 / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.887, allocations: 126.2 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.887, allocations: 0 / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.8871, allocations: 11.98 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.8872, allocations: 4 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8872, allocations: 0 / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004432/0.8876, allocations: 0.5915 MB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8876, allocations: 0.5469 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001369/0.8878, allocations: 67.06 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.8878, allocations: 83.83 kB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.8879, allocations: 4 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.8879, allocations: 3.984 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.8879, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.888, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.041e-05/0.888, allocations: 79.38 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002611/0.8883, allocations: 8 kB / 1.02 GB, free: 2.824 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.8885, allocations: 103.2 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.8888, allocations: 23.8 kB / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8888, allocations: 3.938 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.889, allocations: 15.98 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.8891, allocations: 10.19 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.8894, allocations: 54.16 kB / 1.02 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.8897, allocations: 0.6876 MB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.8897, allocations: 0 / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of Templates: time 0.003194/0.8929, allocations: 0.5308 MB / 1.022 GB, free: 1.359 MB / 0.6355 GB