Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.105/2.105, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001622, allocations: 183.7 kB / 315.1 MB, free: 7.793 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.1 MB / 0.5658 GB, free: 23.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001338, allocations: 85.02 kB / 0.67 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2907/0.2921, allocations: 112.4 MB / 0.7797 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.8245, allocations: 106.2 MB / 0.8835 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.883, allocations: 409.3 MB / 1.283 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.884, allocations: 83.14 kB / 1.283 GB, free: 10.91 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 4.577/6.461, allocations: 0.9135 GB / 2.197 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.339e-05/6.461, allocations: 10.34 kB / 2.197 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/6.466, allocations: 0.6243 MB / 2.197 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/6.478, allocations: 2.955 MB / 2.2 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/6.478, allocations: 225.6 kB / 2.2 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000782/6.479, allocations: 122.3 kB / 2.201 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01147/6.491, allocations: 1.822 MB / 2.202 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008862/6.5, allocations: 2.091 MB / 2.204 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.798e-05/6.5, allocations: 3.656 kB / 2.204 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/6.5, allocations: 6.969 kB / 2.204 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.806e-05/6.5, allocations: 63.23 kB / 2.204 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/6.529, allocations: 11.75 MB / 2.216 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/6.532, allocations: 1.183 MB / 2.217 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/6.534, allocations: 0.6641 MB / 2.218 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/6.535, allocations: 1.329 MB / 2.219 GB, free: 99.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002329/6.538, allocations: 0.9149 MB / 2.22 GB, free: 99 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=107): time 5.24e-06/6.538, allocations: 0 / 2.22 GB, free: 99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.005363/6.543, allocations: 1.464 MB / 2.221 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/6.543, allocations: 0.6815 MB / 2.222 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005491/6.549, allocations: 2.006 MB / 2.224 GB, free: 96.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005448/6.549, allocations: 29.61 kB / 2.224 GB, free: 96.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/6.551, allocations: 0.8961 MB / 2.225 GB, free: 96.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008368/6.551, allocations: 362.6 kB / 2.225 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/6.552, allocations: 0 / 2.225 GB, free: 95.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000128/6.552, allocations: 366.1 kB / 2.226 GB, free: 95.46 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/6.554, allocations: 0.6194 MB / 2.226 GB, free: 95.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/6.556, allocations: 1.191 MB / 2.227 GB, free: 94.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/6.559, allocations: 0.7682 MB / 2.228 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/6.559, allocations: 3.719 kB / 2.228 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006608/6.565, allocations: 1.84 MB / 2.23 GB, free: 93.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009882/6.566, allocations: 4.215 MB / 2.234 GB, free: 88.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/6.566, allocations: 10.41 kB / 2.234 GB, free: 88.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.544e-05/6.566, allocations: 23.06 kB / 2.234 GB, free: 88.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003973/6.57, allocations: 411.9 kB / 2.234 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.053e-05/6.571, allocations: 22.28 kB / 2.234 GB, free: 88.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/6.576, allocations: 268.6 kB / 2.235 GB, free: 88.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005515/6.576, allocations: 68.12 kB / 2.235 GB, free: 88.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/6.576, allocations: 3.281 kB / 2.235 GB, free: 88.48 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00501/6.581, allocations: 1.558 MB / 2.236 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/6.582, allocations: 14.77 kB / 2.236 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/6.582, allocations: 15.62 kB / 2.236 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/6.585, allocations: 402.2 kB / 2.237 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/6.585, allocations: 22.94 kB / 2.237 GB, free: 87.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004748/6.59, allocations: 222 kB / 2.237 GB, free: 87.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/6.591, allocations: 67.22 kB / 2.237 GB, free: 87.78 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 1 * 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.000637/6.591, allocations: 156.3 kB / 2.237 GB, free: 87.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/6.592, allocations: 246.9 kB / 2.237 GB, free: 87.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005795/6.598, allocations: 1.724 MB / 2.239 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/6.598, allocations: 19.16 kB / 2.239 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/6.598, allocations: 4.422 kB / 2.239 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003825/6.602, allocations: 1.307 MB / 2.24 GB, free: 86.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/6.616, allocations: 5.135 MB / 2.245 GB, free: 83.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/6.616, allocations: 4.625 kB / 2.245 GB, free: 83.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/6.619, allocations: 271.4 kB / 2.246 GB, free: 83.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.36e-05/6.62, allocations: 13.59 kB / 2.246 GB, free: 83.14 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/6.62, allocations: 20.22 kB / 2.246 GB, free: 83.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/6.62, allocations: 10.44 kB / 2.246 GB, free: 83.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/6.62, allocations: 11.91 kB / 2.246 GB, free: 83.14 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008243/6.628, allocations: 2.949 MB / 2.249 GB, free: 81.31 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01182/6.64, allocations: 4.325 MB / 2.253 GB, free: 78.61 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/6.643, allocations: 0.5824 MB / 2.253 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/6.644, allocations: 12.25 kB / 2.253 GB, free: 78.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004439/6.649, allocations: 145.2 kB / 2.254 GB, free: 78.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006559/6.65, allocations: 103.1 kB / 2.254 GB, free: 78.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002841/6.65, allocations: 49.41 kB / 2.254 GB, free: 78.17 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.005197/6.655, allocations: 1.55 MB / 2.255 GB, free: 77.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01257/6.668, allocations: 1.891 MB / 2.257 GB, free: 76.78 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.003943/6.672, allocations: 1.242 MB / 2.258 GB, free: 76.44 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007979/6.68, allocations: 2.52 MB / 2.261 GB, free: 74.58 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/6.68, allocations: 4 kB / 2.261 GB, free: 74.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/6.682, allocations: 0.7485 MB / 2.261 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/6.692, allocations: 1.013 MB / 2.262 GB, free: 72.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/6.707, allocations: 3.742 MB / 2.266 GB, free: 69.21 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00439/6.711, allocations: 2.059 MB / 2.268 GB, free: 67.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.834e-06/6.711, allocations: 3.938 kB / 2.268 GB, free: 67.15 MB / 0.8698 GB