Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [: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.342/2.342, allocations: 253.1 MB / 260.4 MB, free: 7.473 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.001702/0.001702, allocations: 173.3 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 2.193/2.193, 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.001394/0.001394, allocations: 98.69 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.148e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2232, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6877/0.9111, allocations: 136.1 MB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.9114, allocations: 86.05 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03453/0.946, allocations: 7.637 MB / 1.029 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.9461, allocations: 4 kB / 1.029 GB, free: 12.11 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001571/0.9477, allocations: 0.6079 MB / 1.029 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.9477, allocations: 8.031 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.9491, allocations: 170.8 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.95, allocations: 340.4 kB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.9501, allocations: 79.62 kB / 1.03 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.9502, allocations: 8 kB / 1.03 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/0.9512, allocations: 313.2 kB / 1.03 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.9519, allocations: 239 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.9519, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.952, allocations: 4.156 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.952, allocations: 7.891 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.9548, allocations: 0.8485 MB / 1.031 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.9554, allocations: 214.7 kB / 1.031 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.9559, allocations: 170.9 kB / 1.031 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.956, allocations: 0 / 1.031 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.956, allocations: 34.56 kB / 1.031 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.956, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001149/0.9572, allocations: 358.1 kB / 1.032 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.9572, allocations: 55.41 kB / 1.032 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.9579, allocations: 348.7 kB / 1.032 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.9579, allocations: 29.7 kB / 1.032 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.9581, allocations: 131.3 kB / 1.032 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.9582, allocations: 50.73 kB / 1.032 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.9582, allocations: 0 / 1.032 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.9584, allocations: 348.4 kB / 1.033 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.9588, allocations: 144.5 kB / 1.033 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.9593, allocations: 178.6 kB / 1.033 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.9597, allocations: 136.7 kB / 1.033 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9597, allocations: 0 / 1.033 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001039/0.9608, allocations: 361.5 kB / 1.033 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9608, allocations: 4 kB / 1.034 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9608, allocations: 0 / 1.034 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.9609, allocations: 4 kB / 1.034 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.9618, allocations: 71.88 kB / 1.034 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9618, allocations: 7.938 kB / 1.034 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.9625, allocations: 51.8 kB / 1.034 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.9626, allocations: 15.86 kB / 1.034 GB, free: 7.727 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001643/0.9628, allocations: 101 kB / 1.034 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.9629, allocations: 35.53 kB / 1.034 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.963, allocations: 33.75 kB / 1.034 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.9631, allocations: 4 kB / 1.034 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9631, allocations: 0 / 1.034 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9631, allocations: 3.984 kB / 1.034 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008011/0.9639, allocations: 441.4 kB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9639, allocations: 4 kB / 1.034 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/0.9648, allocations: 83.77 kB / 1.034 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.9648, allocations: 8 kB / 1.034 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.9649, allocations: 0 / 1.034 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.9649, allocations: 3.984 kB / 1.034 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9649, allocations: 0 / 1.034 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001112/0.966, allocations: 457.8 kB / 1.035 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9662, allocations: 115 kB / 1.035 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.9663, allocations: 0 / 1.035 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.9671, allocations: 51.89 kB / 1.035 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.9672, allocations: 27.3 kB / 1.035 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.9673, allocations: 7.438 kB / 1.035 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005227/0.9678, allocations: 277.9 kB / 1.035 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005619/0.9684, allocations: 67.25 kB / 1.035 GB, free: 6.266 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: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.000467/0.9689, allocations: 224.2 kB / 1.036 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.97, allocations: 331.9 kB / 1.036 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.97, allocations: 0 / 1.036 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.9705, allocations: 179.7 kB / 1.036 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.9712, allocations: 42.88 kB / 1.036 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.973, allocations: 479.2 kB / 1.036 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009411/0.974, allocations: 0.8377 MB / 1.037 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of SimCode: time 1.412e-06/0.9741, allocations: 4 kB / 1.037 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of Templates: time 0.0172/0.9913, allocations: 5.382 MB / 1.043 GB, free: 15.12 MB / 0.6667 GB