Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.679/2.679, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001609/0.001609, allocations: 179.5 kB / 360.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001247/0.001247, allocations: 86 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2773/0.2786, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.9117, allocations: 115.2 MB / 0.9627 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.982, allocations: 421.8 MB / 1.375 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.983, allocations: 94.86 kB / 1.375 GB, free: 142.1 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 2.509/4.492, allocations: 0.5498 GB / 1.925 GB, free: 65.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/4.492, allocations: 12.48 kB / 1.925 GB, free: 65.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008845/4.501, allocations: 0.6612 MB / 1.925 GB, free: 65.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006502/4.507, allocations: 1.789 MB / 1.927 GB, free: 63.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/4.507, allocations: 84.03 kB / 1.927 GB, free: 63.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/4.508, allocations: 75.91 kB / 1.927 GB, free: 63.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003515/4.511, allocations: 1.024 MB / 1.928 GB, free: 62.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/4.515, allocations: 1.279 MB / 1.929 GB, free: 60.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.023e-05/4.515, allocations: 3.938 kB / 1.929 GB, free: 60.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/4.515, allocations: 4 kB / 1.929 GB, free: 60.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/4.515, allocations: 32 kB / 1.929 GB, free: 60.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/4.535, allocations: 7.068 MB / 1.936 GB, free: 53.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/4.536, allocations: 499.4 kB / 1.937 GB, free: 52.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/4.537, allocations: 320.9 kB / 1.937 GB, free: 52.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/4.539, allocations: 1.274 MB / 1.938 GB, free: 50.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/4.54, allocations: 0.5009 MB / 1.939 GB, free: 50.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 4.679e-06/4.54, allocations: 0 / 1.939 GB, free: 50.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.003706/4.544, allocations: 0.8317 MB / 1.94 GB, free: 49.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/4.544, allocations: 482.8 kB / 1.94 GB, free: 48.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/4.546, allocations: 0.9835 MB / 1.941 GB, free: 47.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003362/4.547, allocations: 29.7 kB / 1.941 GB, free: 47.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/4.547, allocations: 0.5338 MB / 1.942 GB, free: 47.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/4.548, allocations: 224.7 kB / 1.942 GB, free: 47.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/4.548, allocations: 0 / 1.942 GB, free: 47.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/4.548, allocations: 349.8 kB / 1.942 GB, free: 46.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/4.549, allocations: 309.9 kB / 1.942 GB, free: 46.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/4.55, allocations: 0.6138 MB / 1.943 GB, free: 45.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/4.552, allocations: 429.4 kB / 1.943 GB, free: 45.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/4.552, allocations: 4 kB / 1.943 GB, free: 45.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.007722/4.56, allocations: 1.179 MB / 1.945 GB, free: 44.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005951/4.561, allocations: 2.45 MB / 1.947 GB, free: 41.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/4.561, allocations: 4 kB / 1.947 GB, free: 41.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/4.562, allocations: 275.6 kB / 1.947 GB, free: 41.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/4.565, allocations: 275.5 kB / 1.948 GB, free: 41.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/4.567, allocations: 0.8961 MB / 1.948 GB, free: 40.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/4.572, allocations: 251 kB / 1.949 GB, free: 39.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/4.573, allocations: 59.94 kB / 1.949 GB, free: 39.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/4.573, allocations: 4 kB / 1.949 GB, free: 39.78 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00705/4.58, allocations: 1.018 MB / 1.95 GB, free: 38.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/4.58, allocations: 7.984 kB / 1.95 GB, free: 38.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/4.581, allocations: 269.4 kB / 1.95 GB, free: 38.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/4.584, allocations: 279.5 kB / 1.95 GB, free: 38.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/4.586, allocations: 0.9091 MB / 1.951 GB, free: 37.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/4.591, allocations: 211.5 kB / 1.951 GB, free: 37.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003688/4.591, allocations: 63.95 kB / 1.951 GB, free: 37.02 MB / 0.948 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.0004277/4.591, allocations: 136.7 kB / 1.952 GB, free: 36.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/4.592, allocations: 130.4 kB / 1.952 GB, free: 36.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005842/4.598, allocations: 0.9267 MB / 1.953 GB, free: 35.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/4.598, allocations: 12 kB / 1.953 GB, free: 35.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/4.598, allocations: 7.906 kB / 1.953 GB, free: 35.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005185/4.603, allocations: 0.8124 MB / 1.953 GB, free: 34.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/4.613, allocations: 3.103 MB / 1.956 GB, free: 31.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/4.613, allocations: 4 kB / 1.956 GB, free: 31.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/4.615, allocations: 172.1 kB / 1.957 GB, free: 31.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/4.617, allocations: 272.8 kB / 1.957 GB, free: 31.31 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/4.617, allocations: 23.97 kB / 1.957 GB, free: 31.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/4.619, allocations: 0.8884 MB / 1.958 GB, free: 30.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-05/4.619, allocations: 8 kB / 1.958 GB, free: 30.36 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006879/4.626, allocations: 1.764 MB / 1.959 GB, free: 28.47 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007931/4.634, allocations: 2.594 MB / 1.962 GB, free: 25.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/4.636, allocations: 371.1 kB / 1.962 GB, free: 25.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006284/4.636, allocations: 8 kB / 1.962 GB, free: 25.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005768/4.642, allocations: 151.8 kB / 1.962 GB, free: 25.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/4.643, allocations: 56.36 kB / 1.963 GB, free: 25.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002805/4.643, allocations: 39.95 kB / 1.963 GB, free: 25.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002853/4.646, allocations: 0.7493 MB / 1.963 GB, free: 24.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01141/4.657, allocations: 1.259 MB / 1.965 GB, free: 23.09 MB / 0.948 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.002858/4.66, allocations: 0.8826 MB / 1.965 GB, free: 22.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004694/4.665, allocations: 1.344 MB / 1.967 GB, free: 20.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/4.665, allocations: 4.375 kB / 1.967 GB, free: 20.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/4.667, allocations: 391.6 kB / 1.967 GB, free: 20.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/4.672, allocations: 0.5641 MB / 1.968 GB, free: 19.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/4.684, allocations: 2.141 MB / 1.97 GB, free: 17.72 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/4.686, allocations: 1.394 MB / 1.971 GB, free: 16.29 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/4.687, allocations: 0 / 1.971 GB, free: 16.29 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)