Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [: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.385/1.385, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001083/0.001083, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.183/1.183, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0007938/0.0007939, allocations: 87 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2095/0.2103, allocations: 121.4 MB / 0.8511 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.571/0.7813, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.418/4.2, allocations: 2.085 GB / 3.048 GB, free: 19.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/4.2, allocations: 88.16 kB / 3.048 GB, free: 19.23 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 3.178/7.378, allocations: 1.087 GB / 4.135 GB, free: 24.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/7.378, allocations: 8.5 kB / 4.135 GB, free: 24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003615/7.382, allocations: 0.5245 MB / 4.135 GB, free: 23.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/7.386, allocations: 1.562 MB / 4.137 GB, free: 21.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/7.386, allocations: 44 kB / 4.137 GB, free: 21.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/7.387, allocations: 91.91 kB / 4.137 GB, free: 21.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002541/7.389, allocations: 1.232 MB / 4.138 GB, free: 20.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/7.392, allocations: 1.508 MB / 4.14 GB, free: 18.87 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/7.392, allocations: 7.922 kB / 4.14 GB, free: 18.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/7.392, allocations: 4 kB / 4.14 GB, free: 18.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/7.392, allocations: 50.55 kB / 4.14 GB, free: 18.81 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008249/7.4, allocations: 7.135 MB / 4.147 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/7.401, allocations: 0.7471 MB / 4.147 GB, free: 10.51 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/7.402, allocations: 0.656 MB / 4.148 GB, free: 9.844 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/7.402, allocations: 114.1 kB / 4.148 GB, free: 9.715 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/7.402, allocations: 59.39 kB / 4.148 GB, free: 9.645 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 2.986e-06/7.402, allocations: 4 kB / 4.148 GB, free: 9.641 MB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.006574/7.409, allocations: 3.606 MB / 4.152 GB, free: 5.969 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/7.409, allocations: 167.2 kB / 4.152 GB, free: 5.766 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/7.41, allocations: 0.7822 MB / 4.153 GB, free: 4.973 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/7.41, allocations: 29.7 kB / 4.153 GB, free: 4.938 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/7.41, allocations: 0.5269 MB / 4.153 GB, free: 4.398 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/7.41, allocations: 382.3 kB / 4.154 GB, free: 4.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/7.411, allocations: 0 / 4.154 GB, free: 4.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/7.411, allocations: 353.9 kB / 4.154 GB, free: 3.668 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006082/7.411, allocations: 488 kB / 4.154 GB, free: 3.191 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/7.412, allocations: 0.8017 MB / 4.155 GB, free: 2.258 MB / 0.948 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.01866/7.431, allocations: 4.139 MB / 4.159 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/7.431, allocations: 4 kB / 4.159 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002493/7.433, allocations: 1.427 MB / 4.161 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/7.433, allocations: 10.75 kB / 4.161 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/7.433, allocations: 8 kB / 4.161 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/7.433, allocations: 16 kB / 4.161 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/7.434, allocations: 275.6 kB / 4.161 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.693e-05/7.435, allocations: 25.23 kB / 4.161 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/7.436, allocations: 67.95 kB / 4.161 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/7.437, allocations: 55.98 kB / 4.161 GB, free: 12.18 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.000407/7.437, allocations: 155.2 kB / 4.161 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/7.437, allocations: 134.4 kB / 4.161 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/7.44, allocations: 1.177 MB / 4.163 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/7.44, allocations: 12 kB / 4.163 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/7.44, allocations: 0 / 4.163 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/7.441, allocations: 1.157 MB / 4.164 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/7.447, allocations: 3.5 MB / 4.167 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/7.447, allocations: 12 kB / 4.167 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/7.448, allocations: 252.5 kB / 4.167 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/7.449, allocations: 20 kB / 4.167 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.296e-05/7.449, allocations: 27.94 kB / 4.167 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/7.449, allocations: 23.92 kB / 4.167 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/7.449, allocations: 15.94 kB / 4.167 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003059/7.452, allocations: 2.669 MB / 4.17 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3463/7.798, allocations: 3.792 MB / 4.174 GB, free: 238.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/7.799, allocations: 335.9 kB / 4.174 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/7.799, allocations: 22.53 kB / 4.174 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/7.8, allocations: 70.08 kB / 4.174 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/7.8, allocations: 88.89 kB / 4.174 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.956e-05/7.8, allocations: 53.52 kB / 4.174 GB, free: 238.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007529/7.801, allocations: 0.5784 MB / 4.175 GB, free: 238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002573/7.804, allocations: 0.781 MB / 4.176 GB, free: 238 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.002559/7.806, allocations: 2.323 MB / 4.178 GB, free: 237.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001517/7.808, allocations: 1.14 MB / 4.179 GB, free: 237.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/7.808, allocations: 2.375 kB / 4.179 GB, free: 237.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/7.808, allocations: 0.5233 MB / 4.179 GB, free: 237.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/7.811, allocations: 0.6826 MB / 4.18 GB, free: 237.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/7.816, allocations: 2.742 MB / 4.183 GB, free: 236.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/7.817, allocations: 1.55 MB / 4.184 GB, free: 235.8 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/7.817, allocations: 3.594 kB / 4.184 GB, free: 235.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)