Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.602/1.602, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001532/0.001532, allocations: 181.3 kB / 361.1 MB, free: 7.035 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.539/1.539, allocations: 205.1 MB / 0.6195 GB, free: 10.24 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.0009176/0.0009176, allocations: 85.58 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.897e-06/9.007e-06, allocations: 4 kB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6703, allocations: 115.3 MB / 0.9637 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9078/1.578, allocations: 425.9 MB / 1.38 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.578, allocations: 91.66 kB / 1.38 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.83/3.409, allocations: 0.5556 GB / 1.935 GB, free: 27.62 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003376/3.409, allocations: 40 kB / 1.935 GB, free: 27.58 MB / 0.9323 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.00681/3.416, allocations: 1.988 MB / 1.937 GB, free: 25.53 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/3.416, allocations: 8.031 kB / 1.937 GB, free: 25.52 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/3.422, allocations: 0.7274 MB / 1.938 GB, free: 24.79 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/3.428, allocations: 1.877 MB / 1.94 GB, free: 22.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/3.428, allocations: 92.14 kB / 1.94 GB, free: 22.76 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/3.428, allocations: 72 kB / 1.94 GB, free: 22.69 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002976/3.431, allocations: 1.118 MB / 1.941 GB, free: 21.57 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/3.435, allocations: 1.381 MB / 1.942 GB, free: 20.09 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/3.435, allocations: 7.922 kB / 1.942 GB, free: 20.08 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/3.435, allocations: 4 kB / 1.942 GB, free: 20.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/3.435, allocations: 36 kB / 1.942 GB, free: 20.04 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/3.448, allocations: 7.69 MB / 1.95 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/3.449, allocations: 0.8612 MB / 1.951 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/3.45, allocations: 455.3 kB / 1.951 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/3.451, allocations: 1.278 MB / 1.952 GB, free: 9.152 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/3.452, allocations: 0.5496 MB / 1.953 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.697e-06/3.452, allocations: 0 / 1.953 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.005086/3.457, allocations: 1.206 MB / 1.954 GB, free: 7.371 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/3.457, allocations: 162.9 kB / 1.954 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/3.459, allocations: 1.008 MB / 1.955 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/3.459, allocations: 29.7 kB / 1.955 GB, free: 6.125 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/3.46, allocations: 0.5192 MB / 1.956 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/3.46, allocations: 260.2 kB / 1.956 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/3.461, allocations: 0 / 1.956 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001068/3.461, allocations: 345.9 kB / 1.956 GB, free: 4.996 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/3.461, allocations: 377.9 kB / 1.957 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/3.462, allocations: 0.6638 MB / 1.957 GB, free: 3.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/3.464, allocations: 483.2 kB / 1.958 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/3.464, allocations: 0 / 1.958 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002902/3.467, allocations: 1.298 MB / 1.959 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.5486/4.015, allocations: 2.394 MB / 1.961 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/4.015, allocations: 7.438 kB / 1.961 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/4.017, allocations: 431.7 kB / 1.962 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/4.018, allocations: 250.8 kB / 1.962 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/4.02, allocations: 1.181 MB / 1.963 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/4.023, allocations: 225.3 kB / 1.964 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/4.023, allocations: 59.84 kB / 1.964 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/4.023, allocations: 3.719 kB / 1.964 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002654/4.026, allocations: 1.128 MB / 1.965 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/4.026, allocations: 3.875 kB / 1.965 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009471/4.027, allocations: 434.3 kB / 1.965 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/4.028, allocations: 247.1 kB / 1.965 GB, free: 239.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/4.03, allocations: 1.177 MB / 1.966 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/4.032, allocations: 195.6 kB / 1.967 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/4.032, allocations: 54.44 kB / 1.967 GB, free: 239.1 MB / 0.9323 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.0003774/4.033, allocations: 133.9 kB / 1.967 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/4.033, allocations: 137.2 kB / 1.967 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/4.036, allocations: 1.333 MB / 1.968 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/4.036, allocations: 10.25 kB / 1.968 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/4.036, allocations: 2.656 kB / 1.968 GB, free: 238.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002026/4.038, allocations: 1.099 MB / 1.969 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/4.044, allocations: 2.822 MB / 1.972 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/4.044, allocations: 0 / 1.972 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/4.045, allocations: 189.2 kB / 1.972 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/4.046, allocations: 427.9 kB / 1.973 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/4.046, allocations: 28.33 kB / 1.973 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/4.048, allocations: 1.164 MB / 1.974 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/4.048, allocations: 5.547 kB / 1.974 GB, free: 237.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002408/4.05, allocations: 1.336 MB / 1.975 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/4.051, allocations: 413.6 kB / 1.976 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/4.051, allocations: 3.938 kB / 1.976 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/4.053, allocations: 166.3 kB / 1.976 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/4.053, allocations: 57.55 kB / 1.976 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/4.054, allocations: 54.34 kB / 1.976 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.00118/4.055, allocations: 0.7508 MB / 1.977 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003495/4.058, allocations: 1.049 MB / 1.978 GB, free: 237.2 MB / 0.9323 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.002409/4.061, allocations: 1.136 MB / 1.979 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003026/4.064, allocations: 1.577 MB / 1.98 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/4.064, allocations: 0 / 1.98 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/4.064, allocations: 0.496 MB / 1.981 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/4.068, allocations: 0.6403 MB / 1.981 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/4.073, allocations: 2.008 MB / 1.983 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/4.074, allocations: 1.465 MB / 1.985 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.041e-06/4.074, allocations: 6.781 kB / 1.985 GB, free: 235.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.08144/4.155, allocations: 44.8 MB / 2.029 GB, free: 234.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)