Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") [: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.319/2.319, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001528/0.001528, allocations: 177.3 kB / 360.4 MB, free: 7.566 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.759/1.759, allocations: 205.1 MB / 0.6188 GB, free: 13.2 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.001286/0.001286, allocations: 92.62 kB / 0.7318 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.142e-05, allocations: 4 kB / 0.8502 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6685, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.718, allocations: 422.1 MB / 1.375 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.719, allocations: 88.98 kB / 1.375 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.297/4.016, allocations: 0.5502 GB / 1.925 GB, free: 39.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002996/4.016, allocations: 47.98 kB / 1.925 GB, free: 39.65 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006927/4.023, allocations: 1.99 MB / 1.927 GB, free: 37.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/4.023, allocations: 8.531 kB / 1.927 GB, free: 37.59 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/4.034, allocations: 0.7312 MB / 1.928 GB, free: 36.86 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006387/4.04, allocations: 1.865 MB / 1.93 GB, free: 34.93 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/4.04, allocations: 92.3 kB / 1.93 GB, free: 34.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000498/4.041, allocations: 87.98 kB / 1.93 GB, free: 34.75 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004495/4.045, allocations: 1.149 MB / 1.931 GB, free: 33.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004665/4.05, allocations: 1.438 MB / 1.932 GB, free: 32.06 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/4.05, allocations: 7.938 kB / 1.932 GB, free: 32.05 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/4.05, allocations: 4 kB / 1.932 GB, free: 32.05 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/4.05, allocations: 47.98 kB / 1.933 GB, free: 32 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/4.07, allocations: 7.668 MB / 1.94 GB, free: 24.02 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/4.072, allocations: 0.6141 MB / 1.941 GB, free: 23.39 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009571/4.073, allocations: 382.7 kB / 1.941 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/4.075, allocations: 1.267 MB / 1.942 GB, free: 21.48 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/4.075, allocations: 47.22 kB / 1.942 GB, free: 21.42 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=77): time 3.828e-06/4.075, allocations: 0 / 1.942 GB, free: 21.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=77): time 0.007598/4.083, allocations: 1.003 MB / 1.943 GB, free: 20.41 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/4.083, allocations: 200.6 kB / 1.943 GB, free: 20.17 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/4.086, allocations: 1.021 MB / 1.944 GB, free: 19.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003703/4.086, allocations: 37.7 kB / 1.944 GB, free: 19.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/4.087, allocations: 0.5577 MB / 1.945 GB, free: 18.53 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/4.087, allocations: 260.2 kB / 1.945 GB, free: 18.27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/4.087, allocations: 0 / 1.945 GB, free: 18.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001026/4.087, allocations: 341.9 kB / 1.946 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/4.088, allocations: 355.1 kB / 1.946 GB, free: 17.59 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/4.09, allocations: 0.647 MB / 1.947 GB, free: 16.82 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/4.092, allocations: 462.7 kB / 1.947 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/4.092, allocations: 4 kB / 1.947 GB, free: 16.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008433/4.1, allocations: 1.275 MB / 1.948 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005224/4.101, allocations: 2.465 MB / 1.951 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/4.101, allocations: 8 kB / 1.951 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/4.103, allocations: 364.9 kB / 1.951 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/4.106, allocations: 279.5 kB / 1.951 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/4.108, allocations: 0.9621 MB / 1.952 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/4.113, allocations: 263 kB / 1.952 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/4.113, allocations: 63.88 kB / 1.953 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/4.113, allocations: 4 kB / 1.953 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007688/4.121, allocations: 1.115 MB / 1.954 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/4.121, allocations: 4.062 kB / 1.954 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/4.122, allocations: 368.8 kB / 1.954 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/4.126, allocations: 271.6 kB / 1.954 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/4.128, allocations: 0.9725 MB / 1.955 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/4.132, allocations: 227.2 kB / 1.955 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/4.133, allocations: 51.95 kB / 1.955 GB, free: 7.477 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: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004589/4.133, allocations: 144.6 kB / 1.956 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/4.134, allocations: 142.3 kB / 1.956 GB, free: 7.188 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007578/4.141, allocations: 1.092 MB / 1.957 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/4.141, allocations: 8 kB / 1.957 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/4.141, allocations: 3.906 kB / 1.957 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00641/4.148, allocations: 0.9564 MB / 1.958 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/4.161, allocations: 2.824 MB / 1.961 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/4.161, allocations: 0 / 1.961 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/4.163, allocations: 176 kB / 1.961 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/4.165, allocations: 356.7 kB / 1.961 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/4.165, allocations: 23.95 kB / 1.961 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/4.167, allocations: 0.961 MB / 1.962 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/4.167, allocations: 4 kB / 1.962 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4069/4.574, allocations: 2.373 MB / 1.964 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/4.576, allocations: 403.1 kB / 1.965 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007562/4.577, allocations: 12.78 kB / 1.965 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005567/4.582, allocations: 167 kB / 1.965 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/4.583, allocations: 74.98 kB / 1.965 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/4.583, allocations: 49.84 kB / 1.965 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002825/4.586, allocations: 0.7792 MB / 1.966 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007253/4.593, allocations: 1.027 MB / 1.967 GB, free: 249.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003889/4.597, allocations: 0.9097 MB / 1.968 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005891/4.603, allocations: 1.447 MB / 1.969 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/4.603, allocations: 0 / 1.969 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/4.604, allocations: 479.1 kB / 1.969 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/4.61, allocations: 0.5713 MB / 1.97 GB, free: 249.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/4.619, allocations: 2.163 MB / 1.972 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/4.621, allocations: 1.457 MB / 1.974 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.242e-06/4.621, allocations: 0 / 1.974 GB, free: 247.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.105/4.726, allocations: 42.52 MB / 2.015 GB, free: 247 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)