Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.295/2.295, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001561/0.001561, allocations: 185.2 kB / 360.4 MB, free: 7.488 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.799/1.799, allocations: 205.1 MB / 0.6188 GB, free: 12.35 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.001358/0.001357, allocations: 90.7 kB / 0.7318 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.678e-06/9.859e-06, allocations: 0 / 0.8502 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6838, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.762, allocations: 399.7 MB / 1.353 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/1.762, allocations: 93.17 kB / 1.353 GB, free: 163 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.8248/2.587, allocations: 241.9 MB / 1.589 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001511/2.587, allocations: 32 kB / 1.59 GB, free: 13.54 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003374/2.591, allocations: 1.182 MB / 1.591 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/2.591, allocations: 8.531 kB / 1.591 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/2.592, allocations: 138.5 kB / 1.591 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02968/2.621, allocations: 7.628 MB / 1.598 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/2.621, allocations: 24 kB / 1.598 GB, free: 4.391 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/2.622, allocations: 44 kB / 1.598 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002074/2.624, allocations: 0.6559 MB / 1.599 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/2.626, allocations: 0.8775 MB / 1.6 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/2.626, allocations: 11.84 kB / 1.6 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/2.626, allocations: 0 / 1.6 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/2.626, allocations: 23.94 kB / 1.6 GB, free: 2.73 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00854/2.635, allocations: 4.501 MB / 1.604 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/2.636, allocations: 306.5 kB / 1.605 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/2.636, allocations: 256.6 kB / 1.605 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/2.637, allocations: 429.8 kB / 1.605 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/2.637, allocations: 38.89 kB / 1.605 GB, free: 12.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 2.946e-06/2.637, allocations: 4 kB / 1.605 GB, free: 12.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.002098/2.639, allocations: 0.5461 MB / 1.606 GB, free: 12.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/2.639, allocations: 63.39 kB / 1.606 GB, free: 12.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/2.641, allocations: 0.7778 MB / 1.607 GB, free: 11.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/2.641, allocations: 25.7 kB / 1.607 GB, free: 11.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/2.641, allocations: 386.8 kB / 1.607 GB, free: 10.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/2.641, allocations: 145.9 kB / 1.607 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/2.642, allocations: 0 / 1.607 GB, free: 10.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001389/2.642, allocations: 333.9 kB / 1.607 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/2.642, allocations: 217.2 kB / 1.608 GB, free: 10.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/2.643, allocations: 428.1 kB / 1.608 GB, free: 9.766 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/2.644, allocations: 325.2 kB / 1.608 GB, free: 9.449 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/2.644, allocations: 0 / 1.608 GB, free: 9.449 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002345/2.646, allocations: 0.7557 MB / 1.609 GB, free: 8.684 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009071/2.647, allocations: 2.174 MB / 1.611 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/2.647, allocations: 8 kB / 1.611 GB, free: 6.332 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/2.648, allocations: 60.83 kB / 1.611 GB, free: 6.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/2.648, allocations: 107.8 kB / 1.611 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000799/2.649, allocations: 0.6459 MB / 1.612 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/2.651, allocations: 91.38 kB / 1.612 GB, free: 5.402 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/2.651, allocations: 31.91 kB / 1.612 GB, free: 5.371 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/2.651, allocations: 4 kB / 1.612 GB, free: 5.367 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001878/2.653, allocations: 0.6138 MB / 1.613 GB, free: 4.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/2.653, allocations: 12.02 kB / 1.613 GB, free: 4.738 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/2.653, allocations: 60.81 kB / 1.613 GB, free: 4.676 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/2.654, allocations: 111.8 kB / 1.613 GB, free: 4.566 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/2.656, allocations: 1.59 MB / 1.614 GB, free: 2.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/2.658, allocations: 87.44 kB / 1.615 GB, free: 2.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/2.658, allocations: 28 kB / 1.615 GB, free: 2.742 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002706/2.658, allocations: 120.8 kB / 1.615 GB, free: 2.617 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/2.658, allocations: 86.97 kB / 1.615 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/2.66, allocations: 0.6216 MB / 1.615 GB, free: 1.902 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/2.66, allocations: 8 kB / 1.615 GB, free: 1.895 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/2.66, allocations: 0 / 1.615 GB, free: 1.895 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/2.662, allocations: 0.8049 MB / 1.616 GB, free: 1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3731/3.035, allocations: 1.565 MB / 1.618 GB, free: 341.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/3.035, allocations: 0 / 1.618 GB, free: 341.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/3.036, allocations: 79.78 kB / 1.618 GB, free: 341.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/3.036, allocations: 27.86 kB / 1.618 GB, free: 341.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/3.036, allocations: 19.67 kB / 1.618 GB, free: 341.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004052/3.036, allocations: 0.5617 MB / 1.618 GB, free: 340.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/3.037, allocations: 2.156 kB / 1.618 GB, free: 340.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00215/3.039, allocations: 1 MB / 1.619 GB, free: 340.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/3.039, allocations: 255.5 kB / 1.62 GB, free: 340.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/3.04, allocations: 3.562 kB / 1.62 GB, free: 340.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/3.041, allocations: 61 kB / 1.62 GB, free: 340.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/3.041, allocations: 27.66 kB / 1.62 GB, free: 340.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/3.041, allocations: 25.73 kB / 1.62 GB, free: 340.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001151/3.042, allocations: 0.6092 MB / 1.62 GB, free: 340.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00268/3.045, allocations: 0.5627 MB / 1.621 GB, free: 340.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/3.046, allocations: 400.8 kB / 1.621 GB, free: 340.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002376/3.048, allocations: 0.9728 MB / 1.622 GB, free: 340 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/3.048, allocations: 3.875 kB / 1.622 GB, free: 340 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/3.049, allocations: 232 kB / 1.622 GB, free: 340 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/3.054, allocations: 0.5224 MB / 1.623 GB, free: 340 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/3.058, allocations: 1.637 MB / 1.625 GB, free: 339.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/3.06, allocations: 1.327 MB / 1.626 GB, free: 338.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.555e-06/3.06, allocations: 0 / 1.626 GB, free: 338.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05559/3.115, allocations: 21.57 MB / 1.647 GB, free: 338.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)