Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [: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.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001637/0.001637, allocations: 181.2 kB / 366.3 MB, free: 1.988 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.61/1.61, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0008825/0.0008827, allocations: 90.2 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.007e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7141, allocations: 116.3 MB / 0.9725 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.967, allocations: 2.077 GB / 3.05 GB, free: 355.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/5.967, allocations: 88.2 kB / 3.05 GB, free: 355.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.63/8.597, allocations: 0.7472 GB / 3.797 GB, free: 180.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.357e-05/8.597, allocations: 42.67 kB / 3.797 GB, free: 180.4 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003095/8.6, allocations: 1.532 MB / 3.799 GB, free: 180 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/8.6, allocations: 10.75 kB / 3.799 GB, free: 180 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/8.604, allocations: 0.4998 MB / 3.799 GB, free: 179.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/8.606, allocations: 1.107 MB / 3.8 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/8.606, allocations: 37.72 kB / 3.8 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/8.606, allocations: 72.02 kB / 3.8 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/8.608, allocations: 0.9616 MB / 3.801 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/8.609, allocations: 1.066 MB / 3.802 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/8.609, allocations: 0 / 3.802 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/8.609, allocations: 3.438 kB / 3.802 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/8.609, allocations: 40.11 kB / 3.802 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/8.615, allocations: 3.981 MB / 3.806 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/8.615, allocations: 454.1 kB / 3.807 GB, free: 178 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/8.616, allocations: 425.2 kB / 3.807 GB, free: 178 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/8.616, allocations: 293.2 kB / 3.807 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/8.616, allocations: 52.16 kB / 3.807 GB, free: 177.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 4.128e-06/8.616, allocations: 0 / 3.807 GB, free: 177.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.004279/8.621, allocations: 1.983 MB / 3.809 GB, free: 177.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/8.621, allocations: 58.34 kB / 3.809 GB, free: 177.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/8.621, allocations: 0.608 MB / 3.81 GB, free: 177 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/8.621, allocations: 25.7 kB / 3.81 GB, free: 177 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/8.622, allocations: 439.1 kB / 3.81 GB, free: 176.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/8.622, allocations: 261.8 kB / 3.811 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/8.622, allocations: 0 / 3.811 GB, free: 176.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/8.622, allocations: 339.5 kB / 3.811 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/8.622, allocations: 298.2 kB / 3.811 GB, free: 176.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/8.623, allocations: 0.4917 MB / 3.812 GB, free: 176.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/8.623, allocations: 387.6 kB / 3.812 GB, free: 176.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/8.623, allocations: 2.406 kB / 3.812 GB, free: 176.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001143/8.625, allocations: 0.9 MB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/8.625, allocations: 3.469 kB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/8.625, allocations: 3.688 kB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/8.625, allocations: 10.56 kB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/8.625, allocations: 167.9 kB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/8.625, allocations: 10.03 kB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/8.626, allocations: 55.58 kB / 3.813 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/8.626, allocations: 36.03 kB / 3.813 GB, free: 176 MB / 0.948 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 (102): * Single equations (assignments): 102 * 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.0001435/8.627, allocations: 127.7 kB / 3.813 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/8.627, allocations: 102.1 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/8.627, allocations: 117.3 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/8.627, allocations: 11.61 kB / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/8.627, allocations: 0 / 3.814 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/8.628, allocations: 0.9704 MB / 3.815 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/8.632, allocations: 2.474 MB / 3.817 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/8.632, allocations: 11.03 kB / 3.817 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/8.632, allocations: 146.4 kB / 3.817 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003247/8.633, allocations: 96.2 kB / 3.817 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/8.633, allocations: 18.22 kB / 3.817 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/8.634, allocations: 2.781 MB / 3.82 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/8.634, allocations: 14.38 kB / 3.82 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001895/8.636, allocations: 1.85 MB / 3.822 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/8.637, allocations: 275.5 kB / 3.822 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/8.637, allocations: 11.67 kB / 3.822 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/8.638, allocations: 52.98 kB / 3.822 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/8.638, allocations: 65.97 kB / 3.822 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/8.638, allocations: 36.55 kB / 3.822 GB, free: 171.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006692/8.639, allocations: 472.5 kB / 3.823 GB, free: 171.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001688/8.641, allocations: 469.7 kB / 3.823 GB, free: 171.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/8.643, allocations: 1.852 MB / 3.825 GB, free: 171 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001208/8.645, allocations: 0.7269 MB / 3.826 GB, free: 171 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/8.645, allocations: 3.906 kB / 3.826 GB, free: 171 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008166/8.646, allocations: 0.5797 MB / 3.826 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/8.649, allocations: 0.622 MB / 3.827 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/8.653, allocations: 2.086 MB / 3.829 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/8.654, allocations: 1.351 MB / 3.83 GB, free: 169.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/8.655, allocations: 0 / 3.83 GB, free: 169.4 MB / 0.948 GB Notification: Performance of Templates: time 0.04711/8.702, allocations: 30.01 MB / 3.86 GB, free: 168.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)