Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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 10.0.0-master/package.mo): time 2.418/2.418, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 174.4 kB / 490.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009813, allocations: 98.22 kB / 0.9264 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.371/0.3721, allocations: 149.1 MB / 1.072 GB, free: 15.52 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9211/1.293, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/2.416, allocations: 435.4 MB / 1.637 GB, free: 236.3 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/2.416, allocations: 87.95 kB / 1.637 GB, free: 236.2 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 1.931/4.347, allocations: 0.5628 GB / 2.2 GB, free: 165.6 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/4.347, allocations: 8 kB / 2.2 GB, free: 165.6 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/4.353, allocations: 0.6651 MB / 2.2 GB, free: 164.9 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00595/4.359, allocations: 1.809 MB / 2.202 GB, free: 163.1 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/4.359, allocations: 87.98 kB / 2.202 GB, free: 163 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005909/4.359, allocations: 76 kB / 2.202 GB, free: 162.9 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003355/4.363, allocations: 1.024 MB / 2.203 GB, free: 161.9 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/4.366, allocations: 1.279 MB / 2.205 GB, free: 160.5 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.334e-05/4.366, allocations: 3.938 kB / 2.205 GB, free: 160.5 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/4.366, allocations: 4 kB / 2.205 GB, free: 160.5 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/4.366, allocations: 54.17 kB / 2.205 GB, free: 160.5 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/4.381, allocations: 7.072 MB / 2.212 GB, free: 153.2 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008832/4.382, allocations: 488.6 kB / 2.212 GB, free: 152.7 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/4.382, allocations: 322.7 kB / 2.212 GB, free: 152.4 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/4.383, allocations: 1.267 MB / 2.214 GB, free: 150.8 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/4.384, allocations: 0.4976 MB / 2.214 GB, free: 150.3 MB / 1.12 GB Notification: Performance of pre-optimization done (n=65): time 4.538e-06/4.384, allocations: 0 / 2.214 GB, free: 150.3 MB / 1.12 GB Notification: Performance of matching and sorting (n=65): time 0.002518/4.387, allocations: 0.8326 MB / 2.215 GB, free: 149.4 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/4.387, allocations: 479.1 kB / 2.215 GB, free: 148.8 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/4.389, allocations: 0.9916 MB / 2.216 GB, free: 147.8 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/4.389, allocations: 33.95 kB / 2.216 GB, free: 147.8 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005706/4.39, allocations: 0.5377 MB / 2.217 GB, free: 147.2 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/4.39, allocations: 212.9 kB / 2.217 GB, free: 147 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/4.39, allocations: 0 / 2.217 GB, free: 147 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/4.39, allocations: 337.9 kB / 2.217 GB, free: 146.7 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/4.39, allocations: 317.9 kB / 2.218 GB, free: 146.4 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/4.391, allocations: 0.6099 MB / 2.218 GB, free: 145.7 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/4.392, allocations: 426.4 kB / 2.219 GB, free: 145.2 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/4.392, allocations: 8 kB / 2.219 GB, free: 145.2 MB / 1.12 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004006/4.396, allocations: 1.179 MB / 2.22 GB, free: 144.1 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005348/4.397, allocations: 2.456 MB / 2.222 GB, free: 141.4 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/4.397, allocations: 11.94 kB / 2.222 GB, free: 141.4 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000671/4.398, allocations: 275.8 kB / 2.222 GB, free: 141.1 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/4.399, allocations: 271.6 kB / 2.223 GB, free: 140.9 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/4.4, allocations: 0.9 MB / 2.224 GB, free: 139.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/4.403, allocations: 251.5 kB / 2.224 GB, free: 139.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/4.403, allocations: 63.84 kB / 2.224 GB, free: 139.6 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/4.403, allocations: 4 kB / 2.224 GB, free: 139.6 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00385/4.407, allocations: 1.015 MB / 2.225 GB, free: 138.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/4.407, allocations: 8 kB / 2.225 GB, free: 138.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/4.408, allocations: 272.7 kB / 2.225 GB, free: 138.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/4.41, allocations: 272.9 kB / 2.225 GB, free: 138.1 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/4.411, allocations: 0.9147 MB / 2.226 GB, free: 137.1 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/4.413, allocations: 199.3 kB / 2.227 GB, free: 136.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/4.414, allocations: 59.94 kB / 2.227 GB, free: 136.9 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003849/4.414, allocations: 132.6 kB / 2.227 GB, free: 136.8 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/4.415, allocations: 126.5 kB / 2.227 GB, free: 136.6 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/4.418, allocations: 0.9383 MB / 2.228 GB, free: 135.7 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/4.418, allocations: 13.69 kB / 2.228 GB, free: 135.7 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/4.418, allocations: 0 / 2.228 GB, free: 135.7 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002558/4.42, allocations: 0.8241 MB / 2.229 GB, free: 134.8 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007454/4.428, allocations: 3.1 MB / 2.232 GB, free: 131.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-06/4.428, allocations: 7.938 kB / 2.232 GB, free: 131.6 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/4.429, allocations: 176.2 kB / 2.232 GB, free: 131.4 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/4.43, allocations: 260.7 kB / 2.232 GB, free: 131.2 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/4.43, allocations: 23.88 kB / 2.232 GB, free: 131.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/4.431, allocations: 0.8962 MB / 2.233 GB, free: 130.2 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/4.431, allocations: 7.906 kB / 2.233 GB, free: 130.2 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003902/4.435, allocations: 1.746 MB / 2.235 GB, free: 128.4 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004579/4.439, allocations: 2.59 MB / 2.237 GB, free: 125.6 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/4.44, allocations: 376.1 kB / 2.238 GB, free: 125.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/4.441, allocations: 8.062 kB / 2.238 GB, free: 125.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/4.443, allocations: 139.8 kB / 2.238 GB, free: 125.1 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/4.443, allocations: 64.25 kB / 2.238 GB, free: 125 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/4.443, allocations: 39.97 kB / 2.238 GB, free: 125 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.001311/4.445, allocations: 0.7534 MB / 2.238 GB, free: 124.2 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.005837/4.451, allocations: 1.255 MB / 2.24 GB, free: 123 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/4.453, allocations: 0.9036 MB / 2.241 GB, free: 122.1 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.003006/4.456, allocations: 1.344 MB / 2.242 GB, free: 120.8 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/4.456, allocations: 4 kB / 2.242 GB, free: 120.8 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0007916/4.457, allocations: 395.4 kB / 2.242 GB, free: 120.4 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/4.46, allocations: 0.5605 MB / 2.243 GB, free: 119.8 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/4.468, allocations: 2.123 MB / 2.245 GB, free: 117.7 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/4.47, allocations: 1.404 MB / 2.246 GB, free: 116.2 MB / 1.12 GB Notification: Performance of SimCode: time 1.262e-06/4.47, allocations: 4 kB / 2.246 GB, free: 116.2 MB / 1.12 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)