Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 289.8 MB / 297.1 MB, free: 6.605 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 181.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008583, allocations: 83.14 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.343e-05, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.5529, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.7278, allocations: 142.7 MB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.7282, allocations: 84.47 kB / 1.112 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02181/0.75, allocations: 7.508 MB / 1.119 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.7501, allocations: 4.938 kB / 1.119 GB, free: 14.27 MB / 0.7292 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.001069/0.7512, allocations: 0.6109 MB / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.7512, allocations: 8.031 kB / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008029/0.752, allocations: 167.6 kB / 1.12 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.7526, allocations: 351.6 kB / 1.12 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.7527, allocations: 83.61 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.7528, allocations: 8 kB / 1.12 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005686/0.7534, allocations: 312.4 kB / 1.121 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.7538, allocations: 231.2 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.7538, allocations: 0 / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.7538, allocations: 5.5 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.7539, allocations: 0 / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.7555, allocations: 0.831 MB / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.7558, allocations: 214.8 kB / 1.122 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.7561, allocations: 176.7 kB / 1.122 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.7562, allocations: 4 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.7562, allocations: 38.5 kB / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.7562, allocations: 4 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0007834/0.757, allocations: 353.1 kB / 1.123 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7571, allocations: 59.39 kB / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.7575, allocations: 346 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.7575, allocations: 25.7 kB / 1.123 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.7576, allocations: 128.4 kB / 1.123 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.7577, allocations: 51.17 kB / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.7577, allocations: 0 / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7579, allocations: 350.8 kB / 1.123 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.7581, allocations: 146 kB / 1.124 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.7584, allocations: 180.2 kB / 1.124 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.7586, allocations: 134.7 kB / 1.124 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7587, allocations: 0 / 1.124 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006043/0.7593, allocations: 357.1 kB / 1.124 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7593, allocations: 4 kB / 1.124 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7593, allocations: 4 kB / 1.124 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.7593, allocations: 4 kB / 1.124 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.7599, allocations: 71.92 kB / 1.124 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7599, allocations: 11.84 kB / 1.124 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.7603, allocations: 47.89 kB / 1.124 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.7603, allocations: 8 kB / 1.124 GB, free: 8.801 MB / 0.7292 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.0001221/0.7605, allocations: 104.9 kB / 1.125 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.7605, allocations: 31.62 kB / 1.125 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.7606, allocations: 43.22 kB / 1.125 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.7607, allocations: 11.89 kB / 1.125 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.7607, allocations: 0 / 1.125 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.7607, allocations: 0 / 1.125 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.7612, allocations: 446 kB / 1.125 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.7613, allocations: 4 kB / 1.125 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.7617, allocations: 75.88 kB / 1.125 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7617, allocations: 4 kB / 1.125 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.7618, allocations: 5.859 kB / 1.125 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7618, allocations: 0 / 1.125 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7618, allocations: 0 / 1.125 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006348/0.7624, allocations: 462.9 kB / 1.126 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.659e-05/0.7625, allocations: 112.6 kB / 1.126 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.7626, allocations: 0 / 1.126 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.763, allocations: 43.95 kB / 1.126 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7631, allocations: 23.95 kB / 1.126 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.7631, allocations: 11.98 kB / 1.126 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003056/0.7635, allocations: 276.6 kB / 1.126 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004072/0.7639, allocations: 75.84 kB / 1.126 GB, free: 7.031 MB / 0.7292 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.0003854/0.7643, allocations: 214.8 kB / 1.126 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006284/0.7649, allocations: 330.5 kB / 1.127 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7649, allocations: 0 / 1.127 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.7652, allocations: 175.9 kB / 1.127 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.7655, allocations: 46.86 kB / 1.127 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.7666, allocations: 484.6 kB / 1.127 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.7673, allocations: 0.8333 MB / 1.128 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.7673, allocations: 4 kB / 1.128 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.01007/0.7773, allocations: 5.234 MB / 1.133 GB, free: 15.75 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)