Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.477/2.477, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001643/0.001643, allocations: 177.3 kB / 360.3 MB, free: 7.551 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.927/1.927, 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.001543/0.001543, allocations: 94.88 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2897/0.2913, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.9567, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/2.085, allocations: 421.2 MB / 1.374 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/2.085, allocations: 91.55 kB / 1.374 GB, free: 147.2 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 2.361/4.447, allocations: 0.5494 GB / 1.924 GB, free: 41.64 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/4.447, allocations: 11.98 kB / 1.924 GB, free: 41.63 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008696/4.455, allocations: 0.6573 MB / 1.924 GB, free: 40.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/4.461, allocations: 1.766 MB / 1.926 GB, free: 39.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/4.461, allocations: 84 kB / 1.926 GB, free: 39.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/4.462, allocations: 68 kB / 1.926 GB, free: 38.99 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003567/4.465, allocations: 1.012 MB / 1.927 GB, free: 37.97 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/4.469, allocations: 1.265 MB / 1.928 GB, free: 36.61 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/4.469, allocations: 3.938 kB / 1.928 GB, free: 36.61 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/4.469, allocations: 4 kB / 1.928 GB, free: 36.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/4.469, allocations: 35.94 kB / 1.928 GB, free: 36.57 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/4.487, allocations: 7.305 MB / 1.936 GB, free: 28.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/4.489, allocations: 0.5214 MB / 1.936 GB, free: 28.41 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/4.49, allocations: 313.5 kB / 1.936 GB, free: 28.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/4.492, allocations: 1.267 MB / 1.938 GB, free: 26.56 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/4.492, allocations: 47.22 kB / 1.938 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.767e-06/4.492, allocations: 0 / 1.938 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.003487/4.495, allocations: 0.8046 MB / 1.938 GB, free: 25.68 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/4.495, allocations: 111.8 kB / 1.938 GB, free: 25.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/4.498, allocations: 0.9588 MB / 1.939 GB, free: 24.58 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/4.498, allocations: 33.64 kB / 1.939 GB, free: 24.54 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/4.499, allocations: 0.522 MB / 1.94 GB, free: 24.01 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/4.499, allocations: 216.8 kB / 1.94 GB, free: 23.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/4.499, allocations: 4 kB / 1.94 GB, free: 23.79 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/4.499, allocations: 334 kB / 1.94 GB, free: 23.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008716/4.5, allocations: 285.9 kB / 1.941 GB, free: 23.18 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/4.501, allocations: 0.5623 MB / 1.941 GB, free: 22.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/4.503, allocations: 401.3 kB / 1.942 GB, free: 22.11 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/4.503, allocations: 0 / 1.942 GB, free: 22.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004182/4.507, allocations: 1.078 MB / 1.943 GB, free: 21.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000499/4.508, allocations: 2.456 MB / 1.945 GB, free: 18.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/4.508, allocations: 4 kB / 1.945 GB, free: 18.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/4.509, allocations: 363.2 kB / 1.946 GB, free: 18.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/4.512, allocations: 251.6 kB / 1.946 GB, free: 17.78 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/4.515, allocations: 1.107 MB / 1.947 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/4.519, allocations: 222.9 kB / 1.947 GB, free: 16.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/4.519, allocations: 55.95 kB / 1.947 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/4.519, allocations: 4 kB / 1.947 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003577/4.523, allocations: 0.9206 MB / 1.948 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/4.523, allocations: 8 kB / 1.948 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/4.524, allocations: 353.2 kB / 1.948 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/4.527, allocations: 256 kB / 1.949 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/4.529, allocations: 1.099 MB / 1.95 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/4.533, allocations: 183.3 kB / 1.95 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/4.534, allocations: 63.94 kB / 1.95 GB, free: 13.47 MB / 0.9323 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.0003728/4.534, allocations: 136.6 kB / 1.95 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/4.534, allocations: 126.5 kB / 1.95 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/4.538, allocations: 0.9184 MB / 1.951 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/4.538, allocations: 8 kB / 1.951 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/4.538, allocations: 0 / 1.951 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00256/4.541, allocations: 0.8159 MB / 1.952 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009015/4.55, allocations: 2.849 MB / 1.955 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/4.55, allocations: 4 kB / 1.955 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/4.552, allocations: 164.2 kB / 1.955 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/4.553, allocations: 365 kB / 1.955 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/4.553, allocations: 15.97 kB / 1.955 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/4.557, allocations: 1.201 MB / 1.956 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/4.558, allocations: 7.938 kB / 1.956 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003599/4.561, allocations: 1.226 MB / 1.958 GB, free: 5.246 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004223/4.565, allocations: 1.68 MB / 1.959 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/4.567, allocations: 359.2 kB / 1.96 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/4.567, allocations: 7.984 kB / 1.96 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/4.571, allocations: 139.7 kB / 1.96 GB, free: 2.922 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/4.571, allocations: 40.38 kB / 1.96 GB, free: 2.879 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/4.572, allocations: 51.89 kB / 1.96 GB, free: 2.828 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001579/4.573, allocations: 0.7329 MB / 1.96 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006984/4.58, allocations: 1.24 MB / 1.962 GB, free: 0.8477 MB / 0.9323 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.3579/4.938, allocations: 0.8809 MB / 1.963 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007324/4.946, allocations: 1.252 MB / 1.964 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/4.946, allocations: 0 / 1.964 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00413/4.95, allocations: 459.4 kB / 1.964 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007355/4.957, allocations: 0.5531 MB / 1.965 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/4.968, allocations: 1.951 MB / 1.967 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/4.97, allocations: 1.372 MB / 1.968 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.184e-06/4.97, allocations: 0 / 1.968 GB, free: 250.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)