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.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.065/4.065, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5408/4.606, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/4.866, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.306/10.17, allocations: 2.187 GB / 2.816 GB, free: 160.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004399/10.17, allocations: 85.91 kB / 2.816 GB, free: 160.6 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 2.145/12.32, allocations: 448.8 MB / 3.254 GB, free: 45.01 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/12.32, allocations: 8 kB / 3.254 GB, free: 45 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/12.32, allocations: 338.2 kB / 3.254 GB, free: 44.67 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/12.32, allocations: 0.9102 MB / 3.255 GB, free: 43.72 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/12.32, allocations: 28 kB / 3.255 GB, free: 43.69 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/12.32, allocations: 55.94 kB / 3.255 GB, free: 43.64 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002197/12.33, allocations: 0.7301 MB / 3.256 GB, free: 42.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/12.33, allocations: 0.7493 MB / 3.257 GB, free: 42.15 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/12.33, allocations: 0 / 3.257 GB, free: 42.15 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/12.33, allocations: 4 kB / 3.257 GB, free: 42.14 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/12.33, allocations: 30 kB / 3.257 GB, free: 42.12 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/12.34, allocations: 3.476 MB / 3.26 GB, free: 38.39 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/12.34, allocations: 444.1 kB / 3.261 GB, free: 37.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/12.34, allocations: 234.6 kB / 3.261 GB, free: 37.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/12.34, allocations: 109.5 kB / 3.261 GB, free: 37.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/12.34, allocations: 39 kB / 3.261 GB, free: 37.54 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 3.277e-06/12.34, allocations: 0 / 3.261 GB, free: 37.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=49): time 0.004646/12.34, allocations: 1.299 MB / 3.262 GB, free: 36.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/12.34, allocations: 55.84 kB / 3.262 GB, free: 36.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/12.35, allocations: 0.5232 MB / 3.263 GB, free: 35.59 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/12.35, allocations: 29.7 kB / 3.263 GB, free: 35.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/12.35, allocations: 402.6 kB / 3.263 GB, free: 35.15 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/12.35, allocations: 169.5 kB / 3.263 GB, free: 34.98 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/12.35, allocations: 3.938 kB / 3.263 GB, free: 34.98 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001323/12.35, allocations: 386.8 kB / 3.264 GB, free: 34.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/12.35, allocations: 177.3 kB / 3.264 GB, free: 34.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/12.35, allocations: 428.5 kB / 3.264 GB, free: 33.89 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/12.35, allocations: 0.7763 MB / 3.265 GB, free: 33.09 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/12.35, allocations: 4 kB / 3.265 GB, free: 33.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001815/12.35, allocations: 0.6837 MB / 3.266 GB, free: 32.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/12.35, allocations: 7.984 kB / 3.266 GB, free: 32.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/12.35, allocations: 8 kB / 3.266 GB, free: 32.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/12.35, allocations: 61.69 kB / 3.266 GB, free: 32.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/12.36, allocations: 148 kB / 3.266 GB, free: 32.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/12.36, allocations: 2.617 MB / 3.269 GB, free: 29.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/12.36, allocations: 63.95 kB / 3.269 GB, free: 29.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/12.36, allocations: 28 kB / 3.269 GB, free: 29.23 MB / 0.823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002955/12.36, allocations: 128.7 kB / 3.269 GB, free: 29.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/12.36, allocations: 79.06 kB / 3.269 GB, free: 29.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/12.36, allocations: 91.27 kB / 3.269 GB, free: 28.93 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/12.36, allocations: 4 kB / 3.269 GB, free: 28.92 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/12.36, allocations: 0 / 3.269 GB, free: 28.92 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/12.36, allocations: 0.7443 MB / 3.27 GB, free: 28.09 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/12.37, allocations: 1.499 MB / 3.271 GB, free: 26.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/12.37, allocations: 7.984 kB / 3.271 GB, free: 26.49 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/12.37, allocations: 112.3 kB / 3.271 GB, free: 26.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003068/12.37, allocations: 36.86 kB / 3.271 GB, free: 26.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/12.37, allocations: 7.906 kB / 3.271 GB, free: 26.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/12.37, allocations: 1.338 MB / 3.273 GB, free: 24.88 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.38e-05/12.37, allocations: 7.906 kB / 3.273 GB, free: 24.88 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003128/12.38, allocations: 1.074 MB / 3.274 GB, free: 23.66 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00412/12.38, allocations: 1.78 MB / 3.275 GB, free: 21.74 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007844/12.38, allocations: 220 kB / 3.276 GB, free: 21.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/12.38, allocations: 12.14 kB / 3.276 GB, free: 21.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/12.38, allocations: 51.92 kB / 3.276 GB, free: 21.44 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/12.38, allocations: 43.81 kB / 3.276 GB, free: 21.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/12.38, allocations: 23.98 kB / 3.276 GB, free: 21.38 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007723/12.38, allocations: 403.1 kB / 3.276 GB, free: 20.99 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003456/12.39, allocations: 492 kB / 3.277 GB, free: 20.51 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/12.39, allocations: 1.449 MB / 3.278 GB, free: 19.02 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001668/12.39, allocations: 0.6774 MB / 3.279 GB, free: 18.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/12.39, allocations: 4 kB / 3.279 GB, free: 18.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006352/12.39, allocations: 330.2 kB / 3.279 GB, free: 17.99 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/12.4, allocations: 435.8 kB / 3.279 GB, free: 17.56 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/12.4, allocations: 1.355 MB / 3.281 GB, free: 16.13 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/12.4, allocations: 1.19 MB / 3.282 GB, free: 14.92 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/12.4, allocations: 0 / 3.282 GB, free: 14.92 MB / 0.823 GB