Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.14/2.14, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.00163/0.00163, allocations: 185.2 kB / 315.1 MB, free: 4.289 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.941/1.941, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 86.84 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4676/0.4689, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.7276, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.714/6.442, allocations: 2.204 GB / 3.087 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/6.442, allocations: 82.64 kB / 3.087 GB, free: 165.4 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 5.326/11.77, allocations: 1.066 GB / 4.153 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/11.77, allocations: 8 kB / 4.153 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/11.77, allocations: 0.5283 MB / 4.154 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007142/11.78, allocations: 1.564 MB / 4.155 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.205e-05/11.78, allocations: 48 kB / 4.156 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004835/11.78, allocations: 91.91 kB / 4.156 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004516/11.79, allocations: 1.236 MB / 4.157 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005371/11.79, allocations: 1.52 MB / 4.158 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.68e-05/11.79, allocations: 11.88 kB / 4.158 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/11.79, allocations: 7.906 kB / 4.158 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-05/11.79, allocations: 54.58 kB / 4.158 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/11.81, allocations: 7.165 MB / 4.165 GB, free: 93.24 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/11.81, allocations: 0.752 MB / 4.166 GB, free: 92.45 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/11.81, allocations: 0.6406 MB / 4.167 GB, free: 91.79 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/11.81, allocations: 116.9 kB / 4.167 GB, free: 91.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/11.81, allocations: 55.5 kB / 4.167 GB, free: 91.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=106): time 7.635e-06/11.81, allocations: 3.984 kB / 4.167 GB, free: 91.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=112): time 0.01866/11.83, allocations: 3.613 MB / 4.17 GB, free: 87.91 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/11.83, allocations: 167.2 kB / 4.171 GB, free: 87.71 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/11.84, allocations: 0.8027 MB / 4.171 GB, free: 86.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000501/11.84, allocations: 29.7 kB / 4.171 GB, free: 86.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/11.84, allocations: 0.5308 MB / 4.172 GB, free: 86.32 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/11.84, allocations: 386.3 kB / 4.172 GB, free: 85.94 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/11.84, allocations: 0 / 4.172 GB, free: 85.94 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001889/11.84, allocations: 357.8 kB / 4.173 GB, free: 85.58 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/11.84, allocations: 486.4 kB / 4.173 GB, free: 85.11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/11.84, allocations: 0.7939 MB / 4.174 GB, free: 84.18 MB / 0.9011 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.04297/11.89, allocations: 4.086 MB / 4.178 GB, free: 80.05 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/11.89, allocations: 0 / 4.178 GB, free: 80.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004069/11.89, allocations: 1.423 MB / 4.179 GB, free: 78.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/11.89, allocations: 5.719 kB / 4.179 GB, free: 78.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/11.89, allocations: 8 kB / 4.179 GB, free: 78.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.215e-05/11.89, allocations: 19.91 kB / 4.179 GB, free: 78.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/11.89, allocations: 275.6 kB / 4.18 GB, free: 78.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/11.89, allocations: 19.92 kB / 4.18 GB, free: 78.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/11.9, allocations: 76.08 kB / 4.18 GB, free: 78.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/11.9, allocations: 67.88 kB / 4.18 GB, free: 78.16 MB / 0.9011 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.0004617/11.9, allocations: 141.8 kB / 4.18 GB, free: 78.01 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/11.9, allocations: 142.3 kB / 4.18 GB, free: 77.87 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/11.9, allocations: 1.154 MB / 4.181 GB, free: 76.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/11.9, allocations: 12 kB / 4.181 GB, free: 76.69 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/11.9, allocations: 4 kB / 4.181 GB, free: 76.69 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00217/11.9, allocations: 1.149 MB / 4.182 GB, free: 75.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/11.91, allocations: 3.498 MB / 4.186 GB, free: 71.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/11.91, allocations: 19.89 kB / 4.186 GB, free: 71.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/11.92, allocations: 251.8 kB / 4.186 GB, free: 71.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.844e-05/11.92, allocations: 16 kB / 4.186 GB, free: 71.55 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/11.92, allocations: 31.92 kB / 4.186 GB, free: 71.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/11.92, allocations: 15.94 kB / 4.186 GB, free: 71.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/11.92, allocations: 19.92 kB / 4.186 GB, free: 71.48 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004433/11.92, allocations: 2.652 MB / 4.189 GB, free: 68.48 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006239/11.93, allocations: 3.777 MB / 4.192 GB, free: 64.35 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/11.93, allocations: 351.3 kB / 4.193 GB, free: 63.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004118/11.93, allocations: 12 kB / 4.193 GB, free: 63.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/11.93, allocations: 79.78 kB / 4.193 GB, free: 63.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/11.93, allocations: 88.36 kB / 4.193 GB, free: 63.81 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/11.93, allocations: 59.95 kB / 4.193 GB, free: 63.75 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001245/11.93, allocations: 0.5962 MB / 4.193 GB, free: 63.15 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004533/11.94, allocations: 0.7778 MB / 4.194 GB, free: 62.37 MB / 0.9011 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.003909/11.94, allocations: 2.329 MB / 4.196 GB, free: 60.17 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003181/11.95, allocations: 1.125 MB / 4.198 GB, free: 59.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/11.95, allocations: 4 kB / 4.198 GB, free: 59.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/11.95, allocations: 0.514 MB / 4.198 GB, free: 58.53 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006597/11.95, allocations: 0.6895 MB / 4.199 GB, free: 57.86 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008328/11.96, allocations: 2.751 MB / 4.201 GB, free: 54.94 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/11.96, allocations: 1.569 MB / 4.203 GB, free: 53.34 MB / 0.9011 GB Notification: Performance of SimCode: time 2.114e-06/11.96, allocations: 0 / 4.203 GB, free: 53.34 MB / 0.9011 GB