Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.603/1.603, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001317/0.001317, allocations: 188 kB / 366.3 MB, free: 1.938 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.573/1.573, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008994/0.0008992, allocations: 86.31 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.009e-05, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/0.7497, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.255/6.005, allocations: 2.104 GB / 3.076 GB, free: 347.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/6.005, allocations: 84.11 kB / 3.077 GB, free: 347.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.474/7.479, allocations: 468.4 MB / 3.534 GB, free: 222.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.78e-05/7.479, allocations: 23.12 kB / 3.534 GB, free: 222.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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003945/7.483, allocations: 1.481 MB / 3.535 GB, free: 221.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/7.483, allocations: 7.844 kB / 3.535 GB, free: 221.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/7.485, allocations: 310.1 kB / 3.536 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/7.487, allocations: 0.827 MB / 3.536 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/7.487, allocations: 26.06 kB / 3.537 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/7.488, allocations: 38.53 kB / 3.537 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001569/7.489, allocations: 0.887 MB / 3.537 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/7.491, allocations: 0.8919 MB / 3.538 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/7.491, allocations: 0 / 3.538 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/7.491, allocations: 2.406 kB / 3.538 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/7.491, allocations: 81.31 kB / 3.538 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/7.497, allocations: 3.44 MB / 3.542 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/7.498, allocations: 0.7275 MB / 3.542 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/7.499, allocations: 359.4 kB / 3.543 GB, free: 218 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/7.499, allocations: 199.9 kB / 3.543 GB, free: 217.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/7.499, allocations: 41.06 kB / 3.543 GB, free: 217.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 2.876e-06/7.499, allocations: 0 / 3.543 GB, free: 217.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.001878/7.501, allocations: 0.7519 MB / 3.544 GB, free: 217.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/7.501, allocations: 116.6 kB / 3.544 GB, free: 217.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/7.502, allocations: 0.5532 MB / 3.544 GB, free: 217.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/7.502, allocations: 25.7 kB / 3.544 GB, free: 217.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/7.502, allocations: 314.5 kB / 3.545 GB, free: 216.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/7.502, allocations: 211.4 kB / 3.545 GB, free: 216.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/7.502, allocations: 0 / 3.545 GB, free: 216.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001315/7.502, allocations: 389.7 kB / 3.545 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/7.503, allocations: 307.2 kB / 3.546 GB, free: 216.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/7.503, allocations: 445.9 kB / 3.546 GB, free: 216 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/7.509, allocations: 1.355 MB / 3.547 GB, free: 215.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/7.509, allocations: 0 / 3.547 GB, free: 215.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006662/7.516, allocations: 1.824 MB / 3.549 GB, free: 215.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/7.516, allocations: 0.8723 MB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/7.516, allocations: 3.312 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/7.516, allocations: 9.594 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/7.517, allocations: 142.5 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/7.517, allocations: 8.844 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/7.518, allocations: 80.48 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/7.518, allocations: 32.86 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/7.518, allocations: 5.688 kB / 3.55 GB, free: 214.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006264/7.524, allocations: 1.623 MB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/7.524, allocations: 3.125 kB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/7.524, allocations: 9.781 kB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/7.525, allocations: 138.9 kB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/7.525, allocations: 9.484 kB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009855/7.526, allocations: 73.84 kB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/7.526, allocations: 30.66 kB / 3.552 GB, free: 214 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002158/7.526, allocations: 118 kB / 3.552 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/7.526, allocations: 86.5 kB / 3.552 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/7.528, allocations: 0.7769 MB / 3.553 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/7.528, allocations: 7.031 kB / 3.553 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/7.528, allocations: 0 / 3.553 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009297/7.529, allocations: 0.7286 MB / 3.554 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/7.532, allocations: 1.936 MB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/7.532, allocations: 4.109 kB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/7.533, allocations: 135 kB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/7.533, allocations: 5.781 kB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/7.533, allocations: 8.594 kB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/7.533, allocations: 10.06 kB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/7.533, allocations: 12.05 kB / 3.556 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00187/7.535, allocations: 1.52 MB / 3.557 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/7.535, allocations: 253.2 kB / 3.558 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/7.535, allocations: 12.05 kB / 3.558 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006663/7.536, allocations: 35.47 kB / 3.558 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/7.536, allocations: 40.98 kB / 3.558 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/7.536, allocations: 25.41 kB / 3.558 GB, free: 211.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005297/7.537, allocations: 433.7 kB / 3.558 GB, free: 210.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003118/7.54, allocations: 0.8667 MB / 3.559 GB, free: 210.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.003748/7.543, allocations: 1.946 MB / 3.561 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001978/7.545, allocations: 1.125 MB / 3.562 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/7.545, allocations: 6.625 kB / 3.562 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/7.546, allocations: 349.6 kB / 3.562 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/7.548, allocations: 416.5 kB / 3.563 GB, free: 209.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/7.551, allocations: 1.502 MB / 3.564 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/7.552, allocations: 1.181 MB / 3.565 GB, free: 208.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/7.552, allocations: 0 / 3.565 GB, free: 208.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04727/7.599, allocations: 31.57 MB / 3.596 GB, free: 180.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)