Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.00122/0.00122, allocations: 181.3 kB / 366.3 MB, free: 1.938 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.472/1.472, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009098/0.0009098, allocations: 87.91 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2826/0.2835, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.942, allocations: 116.3 MB / 0.9726 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9322/1.874, allocations: 418.1 MB / 1.381 GB, free: 70.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.875, allocations: 92.34 kB / 1.381 GB, free: 70.35 MB / 0.823 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 3.064/4.939, allocations: 0.9389 GB / 2.32 GB, free: 9.758 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/4.939, allocations: 12 kB / 2.32 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/4.943, allocations: 0.6283 MB / 2.321 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/4.954, allocations: 2.976 MB / 2.324 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005557/4.954, allocations: 222.7 kB / 2.324 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009297/4.955, allocations: 120 kB / 2.324 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005453/4.961, allocations: 1.816 MB / 2.326 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/4.965, allocations: 2.118 MB / 2.328 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.666e-05/4.965, allocations: 8 kB / 2.328 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/4.966, allocations: 4 kB / 2.328 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/4.966, allocations: 67.92 kB / 2.328 GB, free: 1.559 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5023/5.468, allocations: 11.77 MB / 2.339 GB, free: 213.6 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/5.47, allocations: 1.184 MB / 2.34 GB, free: 213.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008167/5.47, allocations: 0.6595 MB / 2.341 GB, free: 213.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00081/5.471, allocations: 1.335 MB / 2.342 GB, free: 211.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/5.473, allocations: 0.9551 MB / 2.343 GB, free: 211.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=107): time 3.637e-06/5.473, allocations: 0 / 2.343 GB, free: 211.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=107): time 0.002948/5.476, allocations: 1.465 MB / 2.345 GB, free: 211.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/5.476, allocations: 0.7838 MB / 2.346 GB, free: 210.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/5.479, allocations: 2.009 MB / 2.347 GB, free: 210.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/5.479, allocations: 29.58 kB / 2.347 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008298/5.48, allocations: 0.89 MB / 2.348 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/5.48, allocations: 361.5 kB / 2.349 GB, free: 209.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/5.48, allocations: 0 / 2.349 GB, free: 209.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/5.481, allocations: 358.8 kB / 2.349 GB, free: 209.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/5.481, allocations: 0.6259 MB / 2.35 GB, free: 209.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/5.483, allocations: 1.19 MB / 2.351 GB, free: 208.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/5.484, allocations: 0.7677 MB / 2.352 GB, free: 208.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/5.484, allocations: 3.312 kB / 2.352 GB, free: 208.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003376/5.487, allocations: 1.844 MB / 2.353 GB, free: 208.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008422/5.488, allocations: 4.223 MB / 2.358 GB, free: 204.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/5.488, allocations: 7.5 kB / 2.358 GB, free: 204.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/5.488, allocations: 18.41 kB / 2.358 GB, free: 204.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/5.49, allocations: 409.3 kB / 2.358 GB, free: 204.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/5.49, allocations: 25.19 kB / 2.358 GB, free: 204.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/5.493, allocations: 263.9 kB / 2.358 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/5.493, allocations: 70.52 kB / 2.358 GB, free: 204 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/5.493, allocations: 6.234 kB / 2.358 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/5.496, allocations: 1.554 MB / 2.36 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/5.496, allocations: 10.34 kB / 2.36 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/5.496, allocations: 21.98 kB / 2.36 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/5.498, allocations: 404.4 kB / 2.36 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/5.498, allocations: 24.09 kB / 2.36 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/5.501, allocations: 227.8 kB / 2.36 GB, free: 204 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/5.501, allocations: 69.19 kB / 2.361 GB, free: 204 MB / 0.9948 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.0004929/5.502, allocations: 147.9 kB / 2.361 GB, free: 203.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/5.502, allocations: 246.3 kB / 2.361 GB, free: 203.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/5.505, allocations: 1.73 MB / 2.363 GB, free: 203.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/5.506, allocations: 13.22 kB / 2.363 GB, free: 203.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/5.506, allocations: 6.875 kB / 2.363 GB, free: 203.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001788/5.507, allocations: 1.306 MB / 2.364 GB, free: 203.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007832/5.515, allocations: 5.174 MB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/5.515, allocations: 3.875 kB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/5.517, allocations: 273.8 kB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/5.517, allocations: 10.62 kB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/5.517, allocations: 17.39 kB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/5.517, allocations: 15.97 kB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/5.517, allocations: 5.344 kB / 2.369 GB, free: 201.8 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004096/5.521, allocations: 2.963 MB / 2.372 GB, free: 200.8 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005601/5.527, allocations: 4.316 MB / 2.376 GB, free: 199.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/5.528, allocations: 0.6012 MB / 2.377 GB, free: 199.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/5.529, allocations: 16.92 kB / 2.377 GB, free: 199.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/5.531, allocations: 140 kB / 2.377 GB, free: 199.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/5.531, allocations: 102.3 kB / 2.377 GB, free: 199.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/5.531, allocations: 51.45 kB / 2.377 GB, free: 199.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002477/5.534, allocations: 1.551 MB / 2.379 GB, free: 199.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007002/5.541, allocations: 1.897 MB / 2.381 GB, free: 199.1 MB / 0.9948 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.0024/5.543, allocations: 1.217 MB / 2.382 GB, free: 198.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004248/5.547, allocations: 2.524 MB / 2.384 GB, free: 198.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/5.547, allocations: 4.047 kB / 2.384 GB, free: 198.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/5.549, allocations: 0.7496 MB / 2.385 GB, free: 198.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007072/5.556, allocations: 1.003 MB / 2.386 GB, free: 198.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/5.568, allocations: 3.747 MB / 2.39 GB, free: 197.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/5.571, allocations: 2.063 MB / 2.392 GB, free: 197 MB / 0.9948 GB Notification: Performance of SimCode: time 1.373e-06/5.571, allocations: 0.5625 kB / 2.392 GB, free: 197 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)