Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.542/1.542, 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.001077/0.001077, allocations: 177.3 kB / 366.3 MB, free: 2.016 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.615/1.615, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0009419/0.0009419, allocations: 82.38 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/9.988e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5845, allocations: 116.3 MB / 0.9725 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.393, allocations: 426.9 MB / 1.389 GB, free: 63.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/1.393, allocations: 87.94 kB / 1.39 GB, free: 63.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633/3.026, allocations: 0.5555 GB / 1.945 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003244/3.027, allocations: 43.75 kB / 1.945 GB, free: 5.176 MB / 0.9636 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.006966/3.034, allocations: 1.994 MB / 1.947 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/3.034, allocations: 8.031 kB / 1.947 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/3.04, allocations: 0.7313 MB / 1.948 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006192/3.046, allocations: 1.868 MB / 1.95 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/3.047, allocations: 88.14 kB / 1.95 GB, free: 420 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/3.047, allocations: 76 kB / 1.95 GB, free: 344 kB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4489/3.496, allocations: 1.118 MB / 1.951 GB, free: 254.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/3.498, allocations: 1.379 MB / 1.952 GB, free: 254 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/3.498, allocations: 6.656 kB / 1.952 GB, free: 254 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/3.499, allocations: 3.344 kB / 1.952 GB, free: 254 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/3.499, allocations: 43.36 kB / 1.952 GB, free: 254 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/3.509, allocations: 7.685 MB / 1.96 GB, free: 250.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/3.51, allocations: 0.8689 MB / 1.961 GB, free: 250.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/3.511, allocations: 453.3 kB / 1.961 GB, free: 250.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/3.512, allocations: 1.277 MB / 1.962 GB, free: 249.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000826/3.513, allocations: 0.5429 MB / 1.963 GB, free: 249.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=79): time 4.068e-06/3.513, allocations: 0 / 1.963 GB, free: 249.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=79): time 0.004496/3.517, allocations: 1.208 MB / 1.964 GB, free: 248.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/3.517, allocations: 169.4 kB / 1.964 GB, free: 248.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/3.519, allocations: 1.001 MB / 1.965 GB, free: 248.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/3.519, allocations: 29.58 kB / 1.965 GB, free: 248.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/3.519, allocations: 0.5273 MB / 1.966 GB, free: 248.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/3.52, allocations: 262.7 kB / 1.966 GB, free: 248.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/3.52, allocations: 0 / 1.966 GB, free: 248.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/3.52, allocations: 341.6 kB / 1.966 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/3.52, allocations: 388.4 kB / 1.967 GB, free: 247.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/3.521, allocations: 0.6626 MB / 1.967 GB, free: 247.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/3.522, allocations: 487 kB / 1.968 GB, free: 247.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/3.522, allocations: 0 / 1.968 GB, free: 247.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002468/3.525, allocations: 1.296 MB / 1.969 GB, free: 247.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000403/3.525, allocations: 2.386 MB / 1.971 GB, free: 245 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/3.525, allocations: 5.969 kB / 1.971 GB, free: 245 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/3.526, allocations: 441.2 kB / 1.972 GB, free: 245 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/3.528, allocations: 257.2 kB / 1.972 GB, free: 245 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/3.529, allocations: 1.174 MB / 1.973 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/3.531, allocations: 229.9 kB / 1.973 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/3.531, allocations: 56.88 kB / 1.973 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/3.531, allocations: 3.25 kB / 1.973 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002237/3.534, allocations: 1.121 MB / 1.975 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/3.534, allocations: 9.031 kB / 1.975 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/3.535, allocations: 430.2 kB / 1.975 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/3.536, allocations: 249.1 kB / 1.975 GB, free: 244.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/3.538, allocations: 1.174 MB / 1.976 GB, free: 243.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/3.54, allocations: 196.4 kB / 1.976 GB, free: 243.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/3.54, allocations: 63.91 kB / 1.977 GB, free: 243.8 MB / 0.9636 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.0003734/3.54, allocations: 124.8 kB / 1.977 GB, free: 243.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/3.541, allocations: 139.2 kB / 1.977 GB, free: 243.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/3.544, allocations: 1.335 MB / 1.978 GB, free: 243.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/3.544, allocations: 9.375 kB / 1.978 GB, free: 243.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/3.544, allocations: 2.156 kB / 1.978 GB, free: 243.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002106/3.546, allocations: 1.106 MB / 1.979 GB, free: 243.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00705/3.553, allocations: 2.833 MB / 1.982 GB, free: 243 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/3.553, allocations: 0 / 1.982 GB, free: 243 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/3.555, allocations: 195.5 kB / 1.982 GB, free: 243 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/3.556, allocations: 423.5 kB / 1.983 GB, free: 243 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/3.556, allocations: 27.41 kB / 1.983 GB, free: 243 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/3.557, allocations: 1.164 MB / 1.984 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/3.557, allocations: 0 / 1.984 GB, free: 242.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002912/3.56, allocations: 1.341 MB / 1.985 GB, free: 242.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/3.562, allocations: 411.2 kB / 1.985 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005555/3.562, allocations: 7.328 kB / 1.985 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/3.564, allocations: 160 kB / 1.986 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/3.565, allocations: 54.48 kB / 1.986 GB, free: 242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/3.565, allocations: 55.94 kB / 1.986 GB, free: 242 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001876/3.567, allocations: 0.755 MB / 1.986 GB, free: 241.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005174/3.572, allocations: 1.056 MB / 1.987 GB, free: 241.8 MB / 0.9636 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.003326/3.575, allocations: 1.124 MB / 1.989 GB, free: 241.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003427/3.579, allocations: 1.577 MB / 1.99 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/3.579, allocations: 3.781 kB / 1.99 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/3.58, allocations: 0.5033 MB / 1.991 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/3.583, allocations: 0.6392 MB / 1.991 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/3.589, allocations: 2.015 MB / 1.993 GB, free: 241.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/3.591, allocations: 1.465 MB / 1.995 GB, free: 240.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/3.591, allocations: 0 / 1.995 GB, free: 240.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.07129/3.663, allocations: 44.79 MB / 2.038 GB, free: 239.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)