Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.1-maint.8.0.x/package.mo): time 1.567/1.567, allocations: 285.5 MB / 292.8 MB, free: 9.871 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.001188/0.001187, allocations: 181.2 kB / 361.1 MB, free: 376 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 0.6195 GB, free: 2.875 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008783/0.0008783, allocations: 80.41 kB / 0.7326 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.648e-06, allocations: 2.531 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2585, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9968/1.255, allocations: 421.8 MB / 1.376 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.256, allocations: 92 kB / 1.376 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.213/3.469, allocations: 0.5476 GB / 1.923 GB, free: 144.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002556/3.469, allocations: 36.95 kB / 1.923 GB, free: 144.6 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005684/3.475, allocations: 1.858 MB / 1.925 GB, free: 143.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/3.475, allocations: 7.625 kB / 1.925 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/3.481, allocations: 0.716 MB / 1.926 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/3.487, allocations: 1.772 MB / 1.928 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/3.487, allocations: 87.33 kB / 1.928 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/3.487, allocations: 70.62 kB / 1.928 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/3.49, allocations: 1.038 MB / 1.929 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/3.492, allocations: 1.292 MB / 1.93 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/3.492, allocations: 2.625 kB / 1.93 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/3.492, allocations: 6.781 kB / 1.93 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/3.492, allocations: 38.67 kB / 1.93 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/3.503, allocations: 7.385 MB / 1.937 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/3.504, allocations: 0.556 MB / 1.938 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/3.505, allocations: 320.1 kB / 1.938 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/3.506, allocations: 1.264 MB / 1.939 GB, free: 138 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/3.506, allocations: 50.77 kB / 1.939 GB, free: 138 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 3.606e-06/3.506, allocations: 3.406 kB / 1.939 GB, free: 138 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.002104/3.508, allocations: 0.8674 MB / 1.94 GB, free: 137.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/3.508, allocations: 110.1 kB / 1.94 GB, free: 137.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/3.509, allocations: 0.9646 MB / 1.941 GB, free: 137.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/3.509, allocations: 31.89 kB / 1.941 GB, free: 137.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/3.51, allocations: 0.5201 MB / 1.942 GB, free: 137.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/3.51, allocations: 224.4 kB / 1.942 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/3.51, allocations: 0 / 1.942 GB, free: 137.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/3.51, allocations: 336.2 kB / 1.942 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/3.51, allocations: 304 kB / 1.943 GB, free: 136.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/3.511, allocations: 0.5812 MB / 1.943 GB, free: 136.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/3.512, allocations: 413.9 kB / 1.944 GB, free: 136.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/3.512, allocations: 3.906 kB / 1.944 GB, free: 136.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002365/3.515, allocations: 1.133 MB / 1.945 GB, free: 136.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004581/3.515, allocations: 2.449 MB / 1.947 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/3.515, allocations: 7.5 kB / 1.947 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/3.516, allocations: 451 kB / 1.948 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/3.518, allocations: 246.2 kB / 1.948 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/3.519, allocations: 1.16 MB / 1.949 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/3.522, allocations: 234.4 kB / 1.949 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/3.522, allocations: 51.36 kB / 1.949 GB, free: 133.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/3.522, allocations: 3.938 kB / 1.949 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/3.524, allocations: 0.9729 MB / 1.95 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/3.524, allocations: 7.75 kB / 1.95 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/3.525, allocations: 447 kB / 1.951 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/3.527, allocations: 251.1 kB / 1.951 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/3.528, allocations: 1.159 MB / 1.952 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/3.53, allocations: 202.8 kB / 1.952 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/3.531, allocations: 56.28 kB / 1.952 GB, free: 132.6 MB / 0.948 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003104/3.531, allocations: 126 kB / 1.952 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/3.531, allocations: 124.2 kB / 1.952 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/3.535, allocations: 1.067 MB / 1.953 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/3.535, allocations: 3.906 kB / 1.953 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/3.535, allocations: 3.969 kB / 1.953 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003421/3.539, allocations: 0.9453 MB / 1.954 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/3.545, allocations: 2.956 MB / 1.957 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/3.545, allocations: 7.031 kB / 1.957 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/3.546, allocations: 155.9 kB / 1.957 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/3.547, allocations: 430.7 kB / 1.958 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/3.547, allocations: 20.25 kB / 1.958 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/3.549, allocations: 1.152 MB / 1.959 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/3.549, allocations: 7.062 kB / 1.959 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002065/3.551, allocations: 1.283 MB / 1.96 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/3.552, allocations: 375.3 kB / 1.961 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/3.552, allocations: 3.688 kB / 1.961 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/3.554, allocations: 149.4 kB / 1.961 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/3.554, allocations: 51.28 kB / 1.961 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/3.554, allocations: 44.42 kB / 1.961 GB, free: 130 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009561/3.555, allocations: 0.7338 MB / 1.962 GB, free: 129.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002893/3.558, allocations: 0.9883 MB / 1.963 GB, free: 129.7 MB / 0.948 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/3.559, allocations: 0.8882 MB / 1.963 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002384/3.562, allocations: 1.301 MB / 1.965 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/3.562, allocations: 0 / 1.965 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/3.562, allocations: 386.3 kB / 1.965 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/3.565, allocations: 0.5589 MB / 1.966 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/3.569, allocations: 1.837 MB / 1.967 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009462/3.57, allocations: 1.374 MB / 1.969 GB, free: 128.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/3.57, allocations: 0 / 1.969 GB, free: 128.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05656/3.627, allocations: 40.55 MB / 2.008 GB, free: 123.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)