Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.359/2.359, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001721/0.00172, allocations: 181.3 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 90.94 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.738e-06, allocations: 0 / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6585, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.747, allocations: 425.7 MB / 1.379 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.747, allocations: 92.84 kB / 1.379 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545/4.292, allocations: 0.5555 GB / 1.934 GB, free: 55.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003318/4.293, allocations: 47.44 kB / 1.934 GB, free: 55.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007133/4.3, allocations: 1.991 MB / 1.936 GB, free: 53.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/4.3, allocations: 8.031 kB / 1.936 GB, free: 53.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/4.311, allocations: 0.7312 MB / 1.937 GB, free: 52.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008624/4.32, allocations: 1.869 MB / 1.939 GB, free: 50.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/4.32, allocations: 92.14 kB / 1.939 GB, free: 50.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006073/4.321, allocations: 76 kB / 1.939 GB, free: 50.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005904/4.327, allocations: 1.118 MB / 1.94 GB, free: 49.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/4.333, allocations: 1.38 MB / 1.941 GB, free: 48.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.335e-05/4.333, allocations: 4 kB / 1.941 GB, free: 48.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/4.333, allocations: 4 kB / 1.941 GB, free: 48.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/4.334, allocations: 39.92 kB / 1.941 GB, free: 48.01 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02477/4.358, allocations: 7.695 MB / 1.949 GB, free: 40.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/4.362, allocations: 0.8582 MB / 1.95 GB, free: 39.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/4.364, allocations: 459.3 kB / 1.95 GB, free: 38.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/4.366, allocations: 1.274 MB / 1.951 GB, free: 37.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002191/4.368, allocations: 0.5457 MB / 1.952 GB, free: 36.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 6.973e-06/4.368, allocations: 4 kB / 1.952 GB, free: 36.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.01164/4.38, allocations: 1.202 MB / 1.953 GB, free: 35.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/4.38, allocations: 166.9 kB / 1.953 GB, free: 35.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/4.383, allocations: 1.006 MB / 1.954 GB, free: 34.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004592/4.384, allocations: 37.58 kB / 1.954 GB, free: 34.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008143/4.385, allocations: 0.527 MB / 1.955 GB, free: 33.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000714/4.385, allocations: 268.1 kB / 1.955 GB, free: 33.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/4.386, allocations: 0 / 1.955 GB, free: 33.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001293/4.386, allocations: 338 kB / 1.955 GB, free: 33.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/4.387, allocations: 381.9 kB / 1.956 GB, free: 32.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/4.389, allocations: 0.6561 MB / 1.956 GB, free: 31.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/4.393, allocations: 487.2 kB / 1.957 GB, free: 31.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/4.393, allocations: 4 kB / 1.957 GB, free: 31.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007111/4.4, allocations: 1.302 MB / 1.958 GB, free: 30.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005832/4.4, allocations: 2.381 MB / 1.96 GB, free: 27.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/4.4, allocations: 12 kB / 1.96 GB, free: 27.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/4.403, allocations: 436.6 kB / 1.961 GB, free: 27.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/4.407, allocations: 255.6 kB / 1.961 GB, free: 26.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/4.41, allocations: 1.173 MB / 1.962 GB, free: 25.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005521/4.416, allocations: 226.9 kB / 1.962 GB, free: 25.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/4.416, allocations: 59.94 kB / 1.963 GB, free: 25.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/4.416, allocations: 4 kB / 1.963 GB, free: 25.36 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006093/4.423, allocations: 1.118 MB / 1.964 GB, free: 24.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/4.423, allocations: 4 kB / 1.964 GB, free: 24.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/4.425, allocations: 433.6 kB / 1.964 GB, free: 23.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/4.429, allocations: 255.6 kB / 1.964 GB, free: 23.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/4.432, allocations: 1.166 MB / 1.965 GB, free: 22.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/4.438, allocations: 207.1 kB / 1.966 GB, free: 22.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/4.438, allocations: 51.95 kB / 1.966 GB, free: 22.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005859/4.439, allocations: 132.7 kB / 1.966 GB, free: 21.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/4.44, allocations: 138.3 kB / 1.966 GB, free: 21.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007401/4.447, allocations: 1.33 MB / 1.967 GB, free: 20.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/4.447, allocations: 11.91 kB / 1.967 GB, free: 20.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/4.447, allocations: 0 / 1.967 GB, free: 20.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005211/4.452, allocations: 1.103 MB / 1.968 GB, free: 19.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/4.466, allocations: 2.821 MB / 1.971 GB, free: 16.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/4.466, allocations: 3.984 kB / 1.971 GB, free: 16.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/4.47, allocations: 195.7 kB / 1.971 GB, free: 16.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/4.473, allocations: 420.7 kB / 1.972 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003379/4.473, allocations: 27.94 kB / 1.972 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/4.477, allocations: 1.158 MB / 1.973 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/4.477, allocations: 7.906 kB / 1.973 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007027/4.484, allocations: 1.349 MB / 1.974 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/4.486, allocations: 403 kB / 1.975 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009105/4.487, allocations: 8.078 kB / 1.975 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005737/4.493, allocations: 163.7 kB / 1.975 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/4.493, allocations: 52.56 kB / 1.975 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000381/4.494, allocations: 55.92 kB / 1.975 GB, free: 12.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002794/4.497, allocations: 0.7552 MB / 1.976 GB, free: 11.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00746/4.504, allocations: 1.056 MB / 1.977 GB, free: 10.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004895/4.509, allocations: 1.116 MB / 1.978 GB, free: 9.758 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007383/4.517, allocations: 1.581 MB / 1.979 GB, free: 8.184 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/4.517, allocations: 7.906 kB / 1.979 GB, free: 8.176 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/4.519, allocations: 0.49 MB / 1.98 GB, free: 7.688 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008904/4.528, allocations: 0.6505 MB / 1.98 GB, free: 7.035 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/4.539, allocations: 2.013 MB / 1.982 GB, free: 4.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002858/4.542, allocations: 1.463 MB / 1.984 GB, free: 3.484 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/4.542, allocations: 0 / 1.984 GB, free: 3.484 MB / 0.948 GB Notification: Performance of Templates: time 0.489/5.031, allocations: 44.78 MB / 2.027 GB, free: 255 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)