Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [: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.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001234/0.001234, allocations: 184 kB / 366.3 MB, free: 1.941 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.504/1.504, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0009181/0.000918, allocations: 90.72 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.596e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.66/0.66, allocations: 116.3 MB / 0.9726 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.779/5.439, allocations: 2.085 GB / 3.058 GB, free: 355.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/5.439, allocations: 85.69 kB / 3.058 GB, free: 355.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.756/9.195, allocations: 1.085 GB / 4.143 GB, free: 159.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001463/9.195, allocations: 55.45 kB / 4.143 GB, free: 159.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005005/9.2, allocations: 1.867 MB / 4.145 GB, free: 159.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/9.2, allocations: 9.75 kB / 4.145 GB, free: 159.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/9.204, allocations: 0.5215 MB / 4.145 GB, free: 159.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/9.208, allocations: 1.552 MB / 4.147 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/9.209, allocations: 45.25 kB / 4.147 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/9.209, allocations: 95.44 kB / 4.147 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00216/9.211, allocations: 1.234 MB / 4.148 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/9.213, allocations: 1.506 MB / 4.149 GB, free: 158.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/9.213, allocations: 3.562 kB / 4.149 GB, free: 158.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/9.213, allocations: 3.906 kB / 4.149 GB, free: 158.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/9.213, allocations: 53.2 kB / 4.15 GB, free: 158.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/9.222, allocations: 7.124 MB / 4.156 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/9.223, allocations: 0.7432 MB / 4.157 GB, free: 154.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007287/9.224, allocations: 0.6509 MB / 4.158 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/9.224, allocations: 113.2 kB / 4.158 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/9.224, allocations: 53.41 kB / 4.158 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 3.888e-06/9.224, allocations: 2.688 kB / 4.158 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=112): time 0.006415/9.23, allocations: 3.619 MB / 4.162 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/9.23, allocations: 168.5 kB / 4.162 GB, free: 152.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/9.231, allocations: 0.7832 MB / 4.162 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/9.232, allocations: 29.67 kB / 4.162 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/9.232, allocations: 0.5243 MB / 4.163 GB, free: 152.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/9.232, allocations: 382 kB / 4.163 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/9.232, allocations: 0 / 4.163 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/9.232, allocations: 358.9 kB / 4.164 GB, free: 152 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/9.233, allocations: 486.3 kB / 4.164 GB, free: 152 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/9.234, allocations: 0.8029 MB / 4.165 GB, free: 151.6 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/9.252, allocations: 4.147 MB / 4.169 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/9.252, allocations: 3.281 kB / 4.169 GB, free: 151.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002387/9.255, allocations: 1.422 MB / 4.17 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/9.255, allocations: 3.812 kB / 4.17 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/9.255, allocations: 11.47 kB / 4.17 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/9.255, allocations: 15.34 kB / 4.17 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/9.256, allocations: 282.8 kB / 4.171 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/9.256, allocations: 22.19 kB / 4.171 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/9.258, allocations: 74.97 kB / 4.171 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/9.258, allocations: 59.97 kB / 4.171 GB, free: 151.2 MB / 0.9636 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0002827/9.258, allocations: 150.3 kB / 4.171 GB, free: 151 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/9.259, allocations: 144.6 kB / 4.171 GB, free: 151 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/9.261, allocations: 1.166 MB / 4.172 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/9.261, allocations: 15.09 kB / 4.172 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/9.261, allocations: 3.781 kB / 4.172 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/9.262, allocations: 1.156 MB / 4.173 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/9.267, allocations: 3.492 MB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/9.267, allocations: 14.03 kB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/9.269, allocations: 251.7 kB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-05/9.269, allocations: 14.62 kB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/9.269, allocations: 28.16 kB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.84e-05/9.269, allocations: 23.75 kB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/9.269, allocations: 14.06 kB / 4.177 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002833/9.272, allocations: 2.668 MB / 4.18 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/9.272, allocations: 331.6 kB / 4.18 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/9.273, allocations: 23.28 kB / 4.18 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/9.274, allocations: 67.89 kB / 4.18 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/9.274, allocations: 92.62 kB / 4.18 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.681e-05/9.274, allocations: 56.47 kB / 4.18 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0009051/9.275, allocations: 0.5799 MB / 4.181 GB, free: 148 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00244/9.278, allocations: 0.5168 MB / 4.181 GB, free: 148 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.003436/9.281, allocations: 2.329 MB / 4.184 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00212/9.283, allocations: 1.138 MB / 4.185 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/9.283, allocations: 2.594 kB / 4.185 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/9.284, allocations: 0.5247 MB / 4.185 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/9.287, allocations: 0.6691 MB / 4.186 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/9.293, allocations: 2.718 MB / 4.189 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/9.294, allocations: 1.531 MB / 4.19 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.292e-06/9.294, allocations: 0 / 4.19 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.06001/9.354, allocations: 35.84 MB / 4.225 GB, free: 144.9 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)