Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.047/4.047, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5762/4.623, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/4.867, allocations: 98.73 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.485/10.35, allocations: 2.198 GB / 2.827 GB, free: 145.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/10.35, allocations: 89.03 kB / 2.827 GB, free: 145.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 5.209/15.56, allocations: 1.066 GB / 3.893 GB, free: 43.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/15.56, allocations: 12 kB / 3.893 GB, free: 43.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/15.57, allocations: 0.5128 MB / 3.893 GB, free: 43.34 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004782/15.57, allocations: 1.289 MB / 3.895 GB, free: 42 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.419e-05/15.57, allocations: 48 kB / 3.895 GB, free: 41.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/15.57, allocations: 88 kB / 3.895 GB, free: 41.87 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004055/15.58, allocations: 1.243 MB / 3.896 GB, free: 40.62 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/15.58, allocations: 1.405 MB / 3.897 GB, free: 39.16 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/15.58, allocations: 7.984 kB / 3.897 GB, free: 39.15 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/15.58, allocations: 3.938 kB / 3.897 GB, free: 39.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/15.58, allocations: 50.64 kB / 3.897 GB, free: 39.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/15.59, allocations: 5.744 MB / 3.903 GB, free: 33.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/15.6, allocations: 0.7262 MB / 3.904 GB, free: 32.31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/15.6, allocations: 0.6336 MB / 3.904 GB, free: 31.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/15.6, allocations: 114.1 kB / 3.904 GB, free: 31.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/15.6, allocations: 51.56 kB / 3.904 GB, free: 31.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=108): time 3.607e-06/15.6, allocations: 0 / 3.904 GB, free: 31.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114): time 0.009601/15.61, allocations: 2.772 MB / 3.907 GB, free: 28.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/15.61, allocations: 60.41 kB / 3.907 GB, free: 28.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/15.61, allocations: 0.7441 MB / 3.908 GB, free: 27.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003297/15.61, allocations: 29.7 kB / 3.908 GB, free: 27.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/15.61, allocations: 0.5017 MB / 3.908 GB, free: 27.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005101/15.61, allocations: 398 kB / 3.909 GB, free: 26.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/15.61, allocations: 0 / 3.909 GB, free: 26.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001107/15.61, allocations: 357.9 kB / 3.909 GB, free: 26.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/15.61, allocations: 494.4 kB / 3.91 GB, free: 26.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/15.61, allocations: 0.7209 MB / 3.91 GB, free: 25.24 MB / 0.8542 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.0377/15.65, allocations: 4.189 MB / 3.914 GB, free: 21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/15.65, allocations: 0 / 3.914 GB, free: 21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003773/15.66, allocations: 1.402 MB / 3.916 GB, free: 19.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/15.66, allocations: 8.719 kB / 3.916 GB, free: 19.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/15.66, allocations: 7.984 kB / 3.916 GB, free: 19.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/15.66, allocations: 16 kB / 3.916 GB, free: 19.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/15.66, allocations: 271.6 kB / 3.916 GB, free: 19.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/15.66, allocations: 15.94 kB / 3.916 GB, free: 19.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/15.66, allocations: 67.69 kB / 3.916 GB, free: 19.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/15.66, allocations: 54.28 kB / 3.916 GB, free: 19.16 MB / 0.8542 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: 25 * Number of states: 0 () * Number of discrete variables: 1 (senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 1 * 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.0004112/15.66, allocations: 141.8 kB / 3.916 GB, free: 19.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/15.66, allocations: 138.4 kB / 3.916 GB, free: 18.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/15.67, allocations: 1.198 MB / 3.918 GB, free: 17.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/15.67, allocations: 12 kB / 3.918 GB, free: 17.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/15.67, allocations: 0 / 3.918 GB, free: 17.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002239/15.67, allocations: 1.188 MB / 3.919 GB, free: 16.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009619/15.68, allocations: 3.27 MB / 3.922 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/15.68, allocations: 14.73 kB / 3.922 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/15.68, allocations: 259.8 kB / 3.922 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/15.68, allocations: 16 kB / 3.922 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/15.68, allocations: 23.98 kB / 3.922 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.855e-05/15.68, allocations: 19.94 kB / 3.922 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/15.68, allocations: 15.94 kB / 3.922 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004566/15.69, allocations: 2.631 MB / 3.925 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00637/15.69, allocations: 3.762 MB / 3.929 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/15.69, allocations: 339.4 kB / 3.929 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/15.69, allocations: 19.98 kB / 3.929 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/15.7, allocations: 91.67 kB / 3.929 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/15.7, allocations: 92.31 kB / 3.929 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/15.7, allocations: 54.17 kB / 3.929 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001158/15.7, allocations: 0.5667 MB / 3.93 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004381/15.7, allocations: 0.7936 MB / 3.931 GB, free: 3.508 MB / 0.8542 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 (117): * Single equations (assignments): 117 * 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.003844/15.71, allocations: 2.355 MB / 3.933 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003375/15.71, allocations: 1.147 MB / 3.934 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/15.71, allocations: 4 kB / 3.934 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/15.71, allocations: 0.5193 MB / 3.934 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00692/15.72, allocations: 0.6806 MB / 3.935 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/15.73, allocations: 2.706 MB / 3.938 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003797/15.73, allocations: 1.546 MB / 3.939 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of SimCode: time 1.743e-06/15.73, allocations: 0 / 3.939 GB, free: 10.22 MB / 0.8698 GB