Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [: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.139/2.139, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001877/0.001876, allocations: 192.6 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.814/1.814, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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: 93.66 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.136e-05/1.151e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2441, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.693/0.9372, allocations: 131.8 MB / 1.017 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.9377, allocations: 77.27 kB / 1.017 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008641/0.9463, allocations: 1.478 MB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.9464, allocations: 0 / 1.018 GB, free: 5.223 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.0004308/0.9468, allocations: 350.2 kB / 1.019 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9469, allocations: 8.031 kB / 1.019 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.947, allocations: 4 kB / 1.019 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.9472, allocations: 167 kB / 1.019 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.9472, allocations: 7.984 kB / 1.019 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.9473, allocations: 0 / 1.019 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.351e-05/0.9474, allocations: 12.73 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.473e-05/0.9475, allocations: 33.64 kB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9475, allocations: 0 / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.9475, allocations: 4 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.9475, allocations: 3.906 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.9478, allocations: 136.5 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9479, allocations: 34.11 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.9479, allocations: 8.922 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/0.9495, allocations: 1.167 MB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.9496, allocations: 35.44 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.637e-06/0.9496, allocations: 0 / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002901/0.9499, allocations: 49.09 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.95, allocations: 55.41 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.9501, allocations: 101.5 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.9501, allocations: 29.7 kB / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.9502, allocations: 80.14 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.9502, allocations: 3.906 kB / 1.02 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.9502, allocations: 0 / 1.02 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9504, allocations: 314.3 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.9504, allocations: 4 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.9504, allocations: 4 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.9505, allocations: 7.984 kB / 1.021 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9505, allocations: 7.938 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000144/0.9507, allocations: 52.3 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9507, allocations: 7.984 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9507, allocations: 0 / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.9508, allocations: 0 / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.9509, allocations: 4 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.9509, allocations: 4 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.9509, allocations: 3.938 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.951, allocations: 0 / 1.021 GB, free: 2.129 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): 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 prepare postOptimizeDAE: time 9.562e-05/0.9511, allocations: 104.9 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.9511, allocations: 12 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.9514, allocations: 61.44 kB / 1.021 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9514, allocations: 3.906 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9514, allocations: 0 / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9514, allocations: 240 / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.9516, allocations: 141.7 kB / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9516, allocations: 0 / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.9516, allocations: 7.938 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.9517, allocations: 3.984 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.9517, allocations: 0 / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9517, allocations: 0 / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9517, allocations: 7.984 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001605/0.9519, allocations: 68.84 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.952, allocations: 93 kB / 1.021 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.952, allocations: 0 / 1.021 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.9521, allocations: 0 / 1.021 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.9521, allocations: 4 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.9522, allocations: 0 / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.322e-05/0.9522, allocations: 86.52 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003314/0.9526, allocations: 27.94 kB / 1.021 GB, free: 1.445 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): 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.0002918/0.9529, allocations: 127.2 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.953, allocations: 23.38 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.953, allocations: 0 / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.953, allocations: 4 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.9533, allocations: 21.64 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.9536, allocations: 66.97 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.954, allocations: 0.6876 MB / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of SimCode: time 3.847e-06/0.9541, allocations: 0 / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of Templates: time 0.004474/0.9586, allocations: 0.8041 MB / 1.023 GB, free: 15.69 MB / 0.6511 GB