Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.565/1.565, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.00156/0.00156, allocations: 189.2 kB / 361.1 MB, free: 7.109 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.552/1.552, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.00103/0.00103, allocations: 90.28 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.429e-05, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7483, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9171/1.665, allocations: 399.3 MB / 1.354 GB, free: 167 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/1.666, allocations: 85.2 kB / 1.354 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.4803/2.146, allocations: 240.9 MB / 1.589 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.918e-05/2.146, allocations: 16 kB / 1.589 GB, free: 2.953 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001792/2.148, allocations: 0.8684 MB / 1.59 GB, free: 2.039 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/2.148, allocations: 8.031 kB / 1.59 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/2.149, allocations: 87.05 kB / 1.59 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03341/2.182, allocations: 12.19 MB / 1.602 GB, free: 5.582 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/2.182, allocations: 16 kB / 1.602 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/2.182, allocations: 31.94 kB / 1.602 GB, free: 5.535 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006885/2.183, allocations: 265.9 kB / 1.602 GB, free: 5.273 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/2.184, allocations: 426.2 kB / 1.603 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/2.184, allocations: 3.938 kB / 1.603 GB, free: 4.82 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/2.184, allocations: 4 kB / 1.603 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/2.184, allocations: 15.91 kB / 1.603 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/2.187, allocations: 2.647 MB / 1.605 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/2.188, allocations: 137.4 kB / 1.605 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/2.188, allocations: 85.22 kB / 1.605 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/2.188, allocations: 344.5 kB / 1.606 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/2.188, allocations: 42.75 kB / 1.606 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/2.188, allocations: 0 / 1.606 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of matching and sorting (n=22): time 0.0006653/2.189, allocations: 227.7 kB / 1.606 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/2.189, allocations: 55.41 kB / 1.606 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/2.189, allocations: 434.1 kB / 1.606 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/2.19, allocations: 25.7 kB / 1.606 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/2.19, allocations: 267.3 kB / 1.607 GB, free: 240 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/2.19, allocations: 82.84 kB / 1.607 GB, free: 156 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/2.19, allocations: 0 / 1.607 GB, free: 156 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.41/2.6, allocations: 362.5 kB / 1.607 GB, free: 328.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/2.6, allocations: 79.77 kB / 1.607 GB, free: 328.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/2.6, allocations: 225.7 kB / 1.607 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/2.601, allocations: 127 kB / 1.608 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/2.601, allocations: 10.97 kB / 1.608 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007695/2.602, allocations: 347 kB / 1.608 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003822/2.602, allocations: 1.655 MB / 1.609 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/2.602, allocations: 3.375 kB / 1.609 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/2.602, allocations: 12.94 kB / 1.609 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/2.602, allocations: 71.94 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/2.602, allocations: 12.62 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/2.603, allocations: 47.25 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/2.603, allocations: 24.33 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/2.603, allocations: 10.45 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004043/2.603, allocations: 260.9 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/2.603, allocations: 11.16 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-06/2.603, allocations: 3.875 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/2.604, allocations: 78.2 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/2.604, allocations: 14.19 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/2.604, allocations: 38.97 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/2.604, allocations: 23.3 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/2.604, allocations: 117.9 kB / 1.61 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/2.604, allocations: 53.31 kB / 1.61 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/2.605, allocations: 268.6 kB / 1.61 GB, free: 326.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/2.605, allocations: 3.812 kB / 1.61 GB, free: 326.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/2.605, allocations: 1.75 kB / 1.61 GB, free: 326.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003257/2.605, allocations: 369.4 kB / 1.611 GB, free: 326.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/2.606, allocations: 0.9529 MB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/2.607, allocations: 3.516 kB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/2.607, allocations: 54.5 kB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/2.607, allocations: 2.938 kB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/2.607, allocations: 7.844 kB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/2.607, allocations: 0.6562 kB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.607, allocations: 10.53 kB / 1.612 GB, free: 325.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005638/2.607, allocations: 0.5975 MB / 1.612 GB, free: 325.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/2.608, allocations: 177.6 kB / 1.613 GB, free: 325.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/2.608, allocations: 13.45 kB / 1.613 GB, free: 325.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/2.608, allocations: 30.06 kB / 1.613 GB, free: 325.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/2.608, allocations: 20.88 kB / 1.613 GB, free: 325.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/2.608, allocations: 17.42 kB / 1.613 GB, free: 325.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000316/2.608, allocations: 328 kB / 1.613 GB, free: 325.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001093/2.609, allocations: 373 kB / 1.613 GB, free: 325.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007074/2.61, allocations: 388 kB / 1.614 GB, free: 325.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005005/2.611, allocations: 385.3 kB / 1.614 GB, free: 325.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/2.611, allocations: 3.594 kB / 1.614 GB, free: 325.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/2.611, allocations: 97.88 kB / 1.614 GB, free: 325.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/2.612, allocations: 321.1 kB / 1.614 GB, free: 325.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/2.614, allocations: 0.8108 MB / 1.615 GB, free: 324.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/2.614, allocations: 0.9726 MB / 1.616 GB, free: 324.1 MB / 0.9323 GB Notification: Performance of SimCode: time 3.9e-07/2.614, allocations: 0 / 1.616 GB, free: 324.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.01951/2.634, allocations: 12.76 MB / 1.629 GB, free: 323.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)