Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.706/1.706, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001529/0.001529, allocations: 181.2 kB / 366.3 MB, free: 2.023 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.585/1.585, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0009457/0.0009455, allocations: 86.78 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2873/0.2883, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.9582, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9988/1.957, allocations: 422.4 MB / 1.385 GB, free: 66.79 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.957, allocations: 92.25 kB / 1.385 GB, free: 66.75 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 1.795/3.752, allocations: 0.5494 GB / 1.935 GB, free: 224 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/3.753, allocations: 8 kB / 1.935 GB, free: 216 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/3.758, allocations: 0.6573 MB / 1.935 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/3.763, allocations: 1.77 MB / 1.937 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/3.763, allocations: 84 kB / 1.937 GB, free: 13.63 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004753/3.764, allocations: 71.94 kB / 1.937 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003411/3.767, allocations: 1.008 MB / 1.938 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/3.77, allocations: 1.26 MB / 1.939 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/3.77, allocations: 7.938 kB / 1.939 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/3.771, allocations: 4 kB / 1.939 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/3.771, allocations: 35.98 kB / 1.939 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/3.784, allocations: 7.307 MB / 1.947 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/3.786, allocations: 0.5212 MB / 1.947 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/3.786, allocations: 310.8 kB / 1.947 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/3.788, allocations: 1.267 MB / 1.949 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/3.788, allocations: 43.22 kB / 1.949 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=64): time 2.725e-06/3.788, allocations: 0 / 1.949 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=64): time 0.002644/3.79, allocations: 0.8128 MB / 1.949 GB, free: 252 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/3.791, allocations: 111.5 kB / 1.95 GB, free: 116 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4448/4.235, allocations: 0.9544 MB / 1.95 GB, free: 261.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/4.236, allocations: 25.7 kB / 1.95 GB, free: 261.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/4.236, allocations: 0.526 MB / 1.951 GB, free: 261.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/4.236, allocations: 214.2 kB / 1.951 GB, free: 261.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/4.236, allocations: 0 / 1.951 GB, free: 261.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001062/4.237, allocations: 337.9 kB / 1.951 GB, free: 261.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/4.237, allocations: 283.8 kB / 1.952 GB, free: 261.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/4.238, allocations: 0.5698 MB / 1.952 GB, free: 261 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/4.239, allocations: 401.9 kB / 1.953 GB, free: 261 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/4.239, allocations: 0 / 1.953 GB, free: 261 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002185/4.241, allocations: 1.078 MB / 1.954 GB, free: 260.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000423/4.242, allocations: 2.454 MB / 1.956 GB, free: 258.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/4.242, allocations: 7.562 kB / 1.956 GB, free: 258.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000828/4.242, allocations: 370.6 kB / 1.957 GB, free: 258.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/4.244, allocations: 250 kB / 1.957 GB, free: 258.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/4.245, allocations: 1.096 MB / 1.958 GB, free: 257.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/4.248, allocations: 228.1 kB / 1.958 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/4.248, allocations: 51.08 kB / 1.958 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/4.248, allocations: 3.844 kB / 1.958 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002024/4.25, allocations: 0.9255 MB / 1.959 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/4.25, allocations: 7.188 kB / 1.959 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/4.251, allocations: 355.9 kB / 1.959 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/4.252, allocations: 255.1 kB / 1.96 GB, free: 257.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/4.253, allocations: 1.093 MB / 1.961 GB, free: 257.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/4.255, allocations: 196.2 kB / 1.961 GB, free: 257.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/4.255, allocations: 51.58 kB / 1.961 GB, free: 257.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003268/4.256, allocations: 125.8 kB / 1.961 GB, free: 257 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/4.256, allocations: 125.2 kB / 1.961 GB, free: 257 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/4.258, allocations: 0.9218 MB / 1.962 GB, free: 256.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/4.258, allocations: 10.12 kB / 1.962 GB, free: 256.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/4.258, allocations: 2.656 kB / 1.962 GB, free: 256.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/4.26, allocations: 0.8172 MB / 1.963 GB, free: 256.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00532/4.265, allocations: 2.85 MB / 1.966 GB, free: 255.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/4.265, allocations: 3.719 kB / 1.966 GB, free: 255.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/4.266, allocations: 160.9 kB / 1.966 GB, free: 255.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007807/4.267, allocations: 354.6 kB / 1.966 GB, free: 255.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/4.267, allocations: 15.56 kB / 1.966 GB, free: 255.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/4.269, allocations: 1.213 MB / 1.967 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/4.269, allocations: 6.906 kB / 1.967 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002179/4.272, allocations: 1.23 MB / 1.969 GB, free: 254.7 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002214/4.274, allocations: 1.678 MB / 1.97 GB, free: 253.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/4.274, allocations: 361.6 kB / 1.971 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/4.275, allocations: 3.781 kB / 1.971 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/4.276, allocations: 134.9 kB / 1.971 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/4.277, allocations: 50.05 kB / 1.971 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/4.277, allocations: 43.52 kB / 1.971 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001064/4.278, allocations: 0.7368 MB / 1.971 GB, free: 253.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004671/4.282, allocations: 1.243 MB / 1.973 GB, free: 253.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/4.284, allocations: 0.8764 MB / 1.974 GB, free: 253.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002464/4.287, allocations: 1.248 MB / 1.975 GB, free: 253.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/4.287, allocations: 6.094 kB / 1.975 GB, free: 253.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/4.288, allocations: 462.5 kB / 1.975 GB, free: 253.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/4.291, allocations: 0.5593 MB / 1.976 GB, free: 253.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/4.296, allocations: 1.95 MB / 1.978 GB, free: 252.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/4.297, allocations: 1.378 MB / 1.979 GB, free: 252 MB / 0.9636 GB Notification: Performance of SimCode: time 8.02e-07/4.297, allocations: 0 / 1.979 GB, free: 252 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)