Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 185.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.000856, allocations: 84.09 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3553/0.3562, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.5218, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.969/4.491, allocations: 2.204 GB / 3.088 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/4.491, allocations: 87.95 kB / 3.089 GB, free: 200.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 3.057/7.549, allocations: 1.066 GB / 4.155 GB, free: 101 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/7.549, allocations: 16 kB / 4.155 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/7.552, allocations: 0.5242 MB / 4.155 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/7.555, allocations: 1.567 MB / 4.157 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/7.555, allocations: 47.91 kB / 4.157 GB, free: 98.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/7.555, allocations: 92 kB / 4.157 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00183/7.557, allocations: 1.236 MB / 4.158 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/7.559, allocations: 1.519 MB / 4.16 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/7.559, allocations: 7.906 kB / 4.16 GB, free: 95.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/7.559, allocations: 7.984 kB / 4.16 GB, free: 95.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/7.559, allocations: 53.55 kB / 4.16 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006919/7.566, allocations: 7.168 MB / 4.167 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/7.567, allocations: 0.7403 MB / 4.167 GB, free: 87.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/7.568, allocations: 0.6483 MB / 4.168 GB, free: 86.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/7.568, allocations: 117.2 kB / 4.168 GB, free: 86.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/7.568, allocations: 47.56 kB / 4.168 GB, free: 86.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=106): time 3.827e-06/7.568, allocations: 3.938 kB / 4.168 GB, free: 86.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.005965/7.574, allocations: 3.617 MB / 4.172 GB, free: 83.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/7.574, allocations: 179.2 kB / 4.172 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/7.575, allocations: 0.7986 MB / 4.173 GB, free: 82.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.93e-05/7.575, allocations: 25.7 kB / 4.173 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/7.575, allocations: 0.5348 MB / 4.173 GB, free: 81.48 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/7.575, allocations: 382.2 kB / 4.174 GB, free: 81.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/7.575, allocations: 0 / 4.174 GB, free: 81.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/7.575, allocations: 357.8 kB / 4.174 GB, free: 80.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/7.576, allocations: 490.5 kB / 4.174 GB, free: 80.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007481/7.577, allocations: 0.7978 MB / 4.175 GB, free: 79.33 MB / 0.8698 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.01786/7.595, allocations: 4.085 MB / 4.179 GB, free: 75.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/7.595, allocations: 4 kB / 4.179 GB, free: 75.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002233/7.597, allocations: 1.407 MB / 4.181 GB, free: 73.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/7.597, allocations: 4 kB / 4.181 GB, free: 73.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/7.597, allocations: 15.91 kB / 4.181 GB, free: 73.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/7.597, allocations: 16.81 kB / 4.181 GB, free: 73.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/7.598, allocations: 287.5 kB / 4.181 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/7.598, allocations: 19.33 kB / 4.181 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/7.6, allocations: 67.7 kB / 4.181 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/7.6, allocations: 63.97 kB / 4.181 GB, free: 73.32 MB / 0.8698 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.0003387/7.6, allocations: 148.6 kB / 4.181 GB, free: 73.17 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/7.601, allocations: 145.6 kB / 4.181 GB, free: 73.03 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/7.603, allocations: 1.154 MB / 4.182 GB, free: 71.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/7.603, allocations: 12 kB / 4.182 GB, free: 71.85 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/7.603, allocations: 4 kB / 4.182 GB, free: 71.85 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/7.604, allocations: 1.145 MB / 4.184 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/7.609, allocations: 3.511 MB / 4.187 GB, free: 66.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/7.609, allocations: 8 kB / 4.187 GB, free: 66.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/7.61, allocations: 255.6 kB / 4.187 GB, free: 66.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/7.61, allocations: 16 kB / 4.187 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/7.61, allocations: 20 kB / 4.187 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/7.61, allocations: 23.92 kB / 4.187 GB, free: 66.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/7.61, allocations: 11.94 kB / 4.187 GB, free: 66.65 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002179/7.612, allocations: 2.652 MB / 4.19 GB, free: 63.65 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003035/7.615, allocations: 3.784 MB / 4.194 GB, free: 59.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/7.616, allocations: 343.3 kB / 4.194 GB, free: 59.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/7.616, allocations: 19.98 kB / 4.194 GB, free: 59.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/7.617, allocations: 71.78 kB / 4.194 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/7.618, allocations: 92.31 kB / 4.194 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.258e-05/7.618, allocations: 55.98 kB / 4.194 GB, free: 58.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007031/7.618, allocations: 0.5962 MB / 4.195 GB, free: 58.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002591/7.621, allocations: 0.7811 MB / 4.196 GB, free: 57.54 MB / 0.8698 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.002461/7.623, allocations: 2.321 MB / 4.198 GB, free: 55.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00157/7.625, allocations: 1.125 MB / 4.199 GB, free: 54.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/7.625, allocations: 0 / 4.199 GB, free: 54.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005648/7.626, allocations: 0.5193 MB / 4.199 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/7.629, allocations: 0.6927 MB / 4.2 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/7.633, allocations: 2.761 MB / 4.203 GB, free: 50.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/7.634, allocations: 1.558 MB / 4.204 GB, free: 48.59 MB / 0.8698 GB Notification: Performance of SimCode: time 7.42e-07/7.634, allocations: 0 / 4.204 GB, free: 48.59 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)