Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.0.0/package.mo): time 2.588/2.588, allocations: 284.8 MB / 292.1 MB, free: 10.97 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.002481/0.002481, allocations: 185.2 kB / 360.3 MB, free: 7.734 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.879/1.879, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001232/0.001232, allocations: 91.38 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2884/0.2897, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.9568, allocations: 115.2 MB / 0.9627 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/2.027, allocations: 422.8 MB / 1.376 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/2.028, allocations: 91.23 kB / 1.376 GB, free: 144.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 5.229/7.257, allocations: 1.045 GB / 2.421 GB, free: 102.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/7.257, allocations: 10.38 kB / 2.421 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01825/7.275, allocations: 1.304 MB / 2.422 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01361/7.289, allocations: 3.337 MB / 2.426 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/7.29, allocations: 163 kB / 2.426 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/7.291, allocations: 146 kB / 2.426 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008965/7.3, allocations: 1.97 MB / 2.428 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009373/7.309, allocations: 2.462 MB / 2.43 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-05/7.309, allocations: 12.03 kB / 2.43 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/7.31, allocations: 3.219 kB / 2.43 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.442e-05/7.31, allocations: 75.62 kB / 2.43 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04138/7.351, allocations: 13.77 MB / 2.444 GB, free: 94.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/7.355, allocations: 1.055 MB / 2.445 GB, free: 94.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/7.358, allocations: 0.5971 MB / 2.445 GB, free: 94.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/7.361, allocations: 1.778 MB / 2.447 GB, free: 92.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002357/7.363, allocations: 0.9086 MB / 2.448 GB, free: 92.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 5.591e-06/7.363, allocations: 0 / 2.448 GB, free: 92.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.01054/7.374, allocations: 1.681 MB / 2.45 GB, free: 91.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002904/7.374, allocations: 0.9366 MB / 2.451 GB, free: 90.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/7.379, allocations: 1.849 MB / 2.452 GB, free: 90.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005652/7.379, allocations: 39.08 kB / 2.452 GB, free: 90.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/7.381, allocations: 0.9823 MB / 2.453 GB, free: 89.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007351/7.381, allocations: 399.3 kB / 2.454 GB, free: 89.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/7.382, allocations: 1.969 kB / 2.454 GB, free: 89.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001338/7.382, allocations: 371.8 kB / 2.454 GB, free: 89.31 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/7.384, allocations: 0.5988 MB / 2.455 GB, free: 89.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/7.386, allocations: 1.198 MB / 2.456 GB, free: 88.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/7.39, allocations: 0.8185 MB / 2.457 GB, free: 88.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/7.39, allocations: 3.719 kB / 2.457 GB, free: 88.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00933/7.399, allocations: 2.131 MB / 2.459 GB, free: 88.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001889/7.401, allocations: 4.905 MB / 2.464 GB, free: 83.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.476e-05/7.401, allocations: 13.47 kB / 2.464 GB, free: 83.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/7.405, allocations: 0.525 MB / 2.464 GB, free: 83.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008748/7.414, allocations: 0.5043 MB / 2.465 GB, free: 83.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/7.418, allocations: 1.797 MB / 2.466 GB, free: 82.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009546/7.428, allocations: 461.8 kB / 2.467 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/7.428, allocations: 115.3 kB / 2.467 GB, free: 82.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/7.428, allocations: 7.219 kB / 2.467 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007389/7.436, allocations: 1.827 MB / 2.469 GB, free: 81.99 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/7.436, allocations: 15.86 kB / 2.469 GB, free: 81.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/7.438, allocations: 0.5283 MB / 2.469 GB, free: 81.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/7.443, allocations: 492.8 kB / 2.47 GB, free: 81.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/7.447, allocations: 1.809 MB / 2.471 GB, free: 80.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008448/7.456, allocations: 377.3 kB / 2.472 GB, free: 80.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007129/7.456, allocations: 113 kB / 2.472 GB, free: 80.85 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0008425/7.457, allocations: 159.3 kB / 2.472 GB, free: 80.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/7.458, allocations: 244.8 kB / 2.472 GB, free: 80.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/7.469, allocations: 1.709 MB / 2.474 GB, free: 80.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.901e-05/7.469, allocations: 18.66 kB / 2.474 GB, free: 80.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/7.469, allocations: 10.5 kB / 2.474 GB, free: 80.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008953/7.478, allocations: 1.523 MB / 2.475 GB, free: 80.22 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/7.498, allocations: 6.11 MB / 2.481 GB, free: 78.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/7.499, allocations: 6.562 kB / 2.481 GB, free: 78.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/7.502, allocations: 308.9 kB / 2.482 GB, free: 78.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/7.505, allocations: 0.5195 MB / 2.482 GB, free: 78.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/7.505, allocations: 36.78 kB / 2.482 GB, free: 78.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/7.508, allocations: 1.79 MB / 2.484 GB, free: 77.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/7.508, allocations: 15.73 kB / 2.484 GB, free: 77.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01003/7.518, allocations: 3.148 MB / 2.487 GB, free: 75.96 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01374/7.532, allocations: 4.397 MB / 2.491 GB, free: 74.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00274/7.535, allocations: 0.6234 MB / 2.492 GB, free: 74.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/7.536, allocations: 23.8 kB / 2.492 GB, free: 74.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00734/7.544, allocations: 268.4 kB / 2.492 GB, free: 74.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/7.544, allocations: 97 kB / 2.492 GB, free: 74.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003353/7.545, allocations: 75.06 kB / 2.492 GB, free: 74.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004199/7.549, allocations: 1.382 MB / 2.494 GB, free: 73.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01371/7.563, allocations: 2.35 MB / 2.496 GB, free: 73.63 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005902/7.569, allocations: 1.494 MB / 2.498 GB, free: 73.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008589/7.577, allocations: 2.525 MB / 2.5 GB, free: 73.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/7.577, allocations: 5.594 kB / 2.5 GB, free: 73.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002752/7.58, allocations: 0.7432 MB / 2.501 GB, free: 73.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01479/7.595, allocations: 1.05 MB / 2.502 GB, free: 73.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/7.617, allocations: 4.076 MB / 2.506 GB, free: 71.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/7.62, allocations: 2.048 MB / 2.508 GB, free: 71.24 MB / 0.948 GB Notification: Performance of SimCode: time 2.144e-06/7.62, allocations: 0 / 2.508 GB, free: 71.24 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)