Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.442/1.442, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001161/0.001162, allocations: 181.2 kB / 361.1 MB, free: 7.086 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.534/1.534, allocations: 205.1 MB / 0.6195 GB, free: 11.99 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.0008978/0.0008978, allocations: 95.75 kB / 0.7326 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.04e-05, allocations: 4 kB / 0.8511 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7355, allocations: 115.3 MB / 0.9637 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9823/1.718, allocations: 399.9 MB / 1.354 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.718, allocations: 93.55 kB / 1.354 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.4733/2.192, allocations: 241.9 MB / 1.591 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001058/2.192, allocations: 31.98 kB / 1.591 GB, free: 12.37 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.002077/2.194, allocations: 1.182 MB / 1.592 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/2.194, allocations: 8.531 kB / 1.592 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/2.194, allocations: 138.5 kB / 1.592 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01846/2.213, allocations: 7.637 MB / 1.599 GB, free: 3.242 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/2.213, allocations: 24 kB / 1.599 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/2.213, allocations: 47.94 kB / 1.599 GB, free: 3.172 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/2.215, allocations: 0.6559 MB / 1.6 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/2.216, allocations: 0.8737 MB / 1.601 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/2.216, allocations: 3.906 kB / 1.601 GB, free: 1.594 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.88e-05/2.216, allocations: 4 kB / 1.601 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/2.216, allocations: 27.92 kB / 1.601 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005903/2.222, allocations: 4.498 MB / 1.605 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/2.223, allocations: 309.2 kB / 1.606 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/2.223, allocations: 261.3 kB / 1.606 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/2.224, allocations: 425.8 kB / 1.606 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/2.224, allocations: 38.89 kB / 1.606 GB, free: 11.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 3.095e-06/2.224, allocations: 4 kB / 1.606 GB, free: 11.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.001436/2.225, allocations: 0.5501 MB / 1.607 GB, free: 11.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/2.225, allocations: 59.34 kB / 1.607 GB, free: 11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/2.226, allocations: 0.7817 MB / 1.608 GB, free: 10.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/2.226, allocations: 25.7 kB / 1.608 GB, free: 10.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/2.227, allocations: 382.8 kB / 1.608 GB, free: 9.797 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/2.227, allocations: 142 kB / 1.608 GB, free: 9.656 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/2.227, allocations: 0 / 1.608 GB, free: 9.656 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001419/2.227, allocations: 337.9 kB / 1.609 GB, free: 9.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/2.227, allocations: 209.2 kB / 1.609 GB, free: 9.113 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/2.228, allocations: 432 kB / 1.609 GB, free: 8.598 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/2.228, allocations: 325.2 kB / 1.609 GB, free: 8.281 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.228, allocations: 0 / 1.609 GB, free: 8.281 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001294/2.23, allocations: 0.7558 MB / 1.61 GB, free: 7.516 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009862/2.231, allocations: 2.178 MB / 1.612 GB, free: 5.168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/2.231, allocations: 4 kB / 1.612 GB, free: 5.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/2.231, allocations: 60.77 kB / 1.612 GB, free: 5.102 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/2.231, allocations: 111.8 kB / 1.612 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/2.232, allocations: 0.6381 MB / 1.613 GB, free: 4.328 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008783/2.233, allocations: 91.38 kB / 1.613 GB, free: 4.238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/2.233, allocations: 35.89 kB / 1.613 GB, free: 4.203 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/2.233, allocations: 6.812 kB / 1.613 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/2.234, allocations: 0.6138 MB / 1.614 GB, free: 3.582 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/2.234, allocations: 16.05 kB / 1.614 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/2.234, allocations: 64.8 kB / 1.614 GB, free: 3.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/2.234, allocations: 111.8 kB / 1.614 GB, free: 3.391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/2.236, allocations: 1.578 MB / 1.616 GB, free: 1.691 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/2.237, allocations: 87.44 kB / 1.616 GB, free: 1.605 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/2.237, allocations: 31.98 kB / 1.616 GB, free: 1.574 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.0002306/2.237, allocations: 120.8 kB / 1.616 GB, free: 1.449 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/2.237, allocations: 86.97 kB / 1.616 GB, free: 1.363 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/2.239, allocations: 0.6275 MB / 1.616 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/2.239, allocations: 4 kB / 1.616 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/2.239, allocations: 0 / 1.616 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4536/2.692, allocations: 0.805 MB / 1.617 GB, free: 335.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/2.695, allocations: 1.562 MB / 1.619 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.695, allocations: 3.188 kB / 1.619 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/2.696, allocations: 88.05 kB / 1.619 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.951e-05/2.696, allocations: 23.08 kB / 1.619 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/2.696, allocations: 10.81 kB / 1.619 GB, free: 335.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002911/2.696, allocations: 0.5758 MB / 1.619 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/2.696, allocations: 0 / 1.619 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001139/2.697, allocations: 0.9821 MB / 1.62 GB, free: 334.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/2.698, allocations: 259.7 kB / 1.621 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/2.698, allocations: 6.953 kB / 1.621 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/2.699, allocations: 56.28 kB / 1.621 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/2.699, allocations: 27.5 kB / 1.621 GB, free: 334.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/2.699, allocations: 25.5 kB / 1.621 GB, free: 334.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006657/2.699, allocations: 0.6071 MB / 1.621 GB, free: 334.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001772/2.701, allocations: 0.5721 MB / 1.622 GB, free: 334.6 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.0007865/2.702, allocations: 399.2 kB / 1.622 GB, free: 334.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001332/2.703, allocations: 0.9686 MB / 1.623 GB, free: 334.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/2.703, allocations: 1.125 kB / 1.623 GB, free: 334.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/2.704, allocations: 243.1 kB / 1.623 GB, free: 334.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/2.706, allocations: 0.5146 MB / 1.624 GB, free: 334.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/2.708, allocations: 1.64 MB / 1.626 GB, free: 334 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/2.709, allocations: 1.323 MB / 1.627 GB, free: 333.3 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/2.709, allocations: 0 / 1.627 GB, free: 333.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03255/2.742, allocations: 21.58 MB / 1.648 GB, free: 333 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)