Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7926/0.7926, allocations: 141.8 MB / 149.1 MB, free: 1.371 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 181.3 kB / 181.9 MB, free: 0.7461 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 436 MB, free: 5.457 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009185, allocations: 104.6 kB / 0.507 GB, free: 2.117 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 279.4 kB / 0.5884 GB, free: 47.26 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.084e-05, allocations: 2.156 kB / 0.6759 GB, free: 59.51 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 82.78 MB / 0.7567 GB, free: 0.6992 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.728/4.94, allocations: 1.908 GB / 2.665 GB, free: 35.12 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/4.941, allocations: 79.95 kB / 2.665 GB, free: 35.05 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.933/6.874, allocations: 474.8 MB / 3.129 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001327/6.874, allocations: 26.66 kB / 3.129 GB, free: 103.7 MB / 0.6982 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.005133/6.88, allocations: 1.487 MB / 3.13 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/6.88, allocations: 8.031 kB / 3.13 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/6.882, allocations: 302.3 kB / 3.13 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/6.885, allocations: 0.8454 MB / 3.131 GB, free: 101 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/6.885, allocations: 32 kB / 3.131 GB, free: 101 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/6.885, allocations: 36 kB / 3.131 GB, free: 101 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001717/6.887, allocations: 0.8818 MB / 3.132 GB, free: 100.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/6.888, allocations: 0.8938 MB / 3.133 GB, free: 99.18 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/6.888, allocations: 0 / 3.133 GB, free: 99.18 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/6.888, allocations: 4 kB / 3.133 GB, free: 99.18 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.71e-05/6.888, allocations: 81.94 kB / 3.133 GB, free: 99.09 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006621/6.895, allocations: 3.441 MB / 3.137 GB, free: 95.48 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/6.897, allocations: 0.7223 MB / 3.137 GB, free: 94.75 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/6.897, allocations: 364.1 kB / 3.138 GB, free: 94.39 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/6.897, allocations: 194.7 kB / 3.138 GB, free: 94.17 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/6.897, allocations: 39.06 kB / 3.138 GB, free: 94.12 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=62): time 3.667e-06/6.897, allocations: 3.938 kB / 3.138 GB, free: 94.12 MB / 0.6982 GB Notification: Performance of matching and sorting (n=62): time 0.002022/6.899, allocations: 0.7532 MB / 3.139 GB, free: 93.36 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/6.899, allocations: 111.3 kB / 3.139 GB, free: 93.22 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/6.9, allocations: 0.5468 MB / 3.139 GB, free: 92.66 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/6.9, allocations: 29.7 kB / 3.139 GB, free: 92.63 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/6.901, allocations: 311.7 kB / 3.14 GB, free: 92.32 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/6.901, allocations: 216.8 kB / 3.14 GB, free: 92.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/6.901, allocations: 0 / 3.14 GB, free: 92.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001107/6.901, allocations: 386.8 kB / 3.14 GB, free: 91.71 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/6.901, allocations: 309.5 kB / 3.14 GB, free: 91.41 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/6.902, allocations: 451.6 kB / 3.141 GB, free: 90.93 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/6.903, allocations: 0.6743 MB / 3.141 GB, free: 90.25 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/6.903, allocations: 0 / 3.141 GB, free: 90.25 MB / 0.6982 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002161/6.906, allocations: 1.143 MB / 3.143 GB, free: 89.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/6.906, allocations: 0.8796 MB / 3.143 GB, free: 88.15 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/6.906, allocations: 11.94 kB / 3.143 GB, free: 88.14 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/6.906, allocations: 4 kB / 3.143 GB, free: 88.14 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/6.907, allocations: 147.8 kB / 3.144 GB, free: 87.99 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/6.907, allocations: 4 kB / 3.144 GB, free: 87.99 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/6.908, allocations: 75.39 kB / 3.144 GB, free: 87.91 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/6.908, allocations: 28 kB / 3.144 GB, free: 87.89 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/6.908, allocations: 4 kB / 3.144 GB, free: 87.88 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001698/6.909, allocations: 0.9546 MB / 3.145 GB, free: 86.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/6.909, allocations: 4.281 kB / 3.145 GB, free: 86.93 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/6.909, allocations: 8 kB / 3.145 GB, free: 86.92 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006594/6.91, allocations: 139.8 kB / 3.145 GB, free: 86.78 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/6.91, allocations: 11.91 kB / 3.145 GB, free: 86.77 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/6.911, allocations: 75.42 kB / 3.145 GB, free: 86.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/6.911, allocations: 28.09 kB / 3.145 GB, free: 86.67 MB / 0.6982 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.0001741/6.911, allocations: 120.7 kB / 3.145 GB, free: 86.54 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/6.911, allocations: 82.97 kB / 3.145 GB, free: 86.46 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/6.913, allocations: 0.7738 MB / 3.146 GB, free: 85.68 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/6.913, allocations: 11.98 kB / 3.146 GB, free: 85.67 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/6.913, allocations: 0 / 3.146 GB, free: 85.67 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00095/6.914, allocations: 0.7329 MB / 3.147 GB, free: 84.91 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/6.917, allocations: 1.936 MB / 3.148 GB, free: 82.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/6.917, allocations: 4 kB / 3.148 GB, free: 82.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/6.918, allocations: 131.8 kB / 3.149 GB, free: 82.77 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/6.918, allocations: 8 kB / 3.149 GB, free: 82.77 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/6.918, allocations: 11.98 kB / 3.149 GB, free: 82.75 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/6.918, allocations: 7.938 kB / 3.149 GB, free: 82.75 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/6.918, allocations: 4 kB / 3.149 GB, free: 82.74 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001717/6.919, allocations: 1.533 MB / 3.15 GB, free: 81.06 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/6.92, allocations: 248 kB / 3.15 GB, free: 80.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/6.92, allocations: 4 kB / 3.15 GB, free: 80.79 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/6.921, allocations: 43.81 kB / 3.15 GB, free: 80.75 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/6.921, allocations: 44.17 kB / 3.15 GB, free: 80.71 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/6.921, allocations: 27.98 kB / 3.15 GB, free: 80.68 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004859/6.921, allocations: 435.1 kB / 3.151 GB, free: 80.26 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002584/6.924, allocations: 0.8733 MB / 3.152 GB, free: 79.38 MB / 0.6982 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.003478/6.927, allocations: 1.937 MB / 3.154 GB, free: 77.59 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001584/6.929, allocations: 1.125 MB / 3.155 GB, free: 76.46 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/6.929, allocations: 5.125 kB / 3.155 GB, free: 76.46 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/6.929, allocations: 357.8 kB / 3.155 GB, free: 76.11 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/6.931, allocations: 418.7 kB / 3.155 GB, free: 75.71 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/6.934, allocations: 1.484 MB / 3.157 GB, free: 74.16 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008356/6.935, allocations: 1.187 MB / 3.158 GB, free: 72.94 MB / 0.6982 GB Notification: Performance of SimCode: time 4.81e-07/6.935, allocations: 0 / 3.158 GB, free: 72.94 MB / 0.6982 GB Notification: Performance of Templates: time 0.04672/6.982, allocations: 31.61 MB / 3.189 GB, free: 41.59 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)