Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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 3.921/3.921, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.574/4.495, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/4.741, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.511/10.25, allocations: 2.208 GB / 2.836 GB, free: 139.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/10.25, allocations: 101.2 kB / 2.836 GB, free: 139.7 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: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 14.88/25.14, allocations: 2.715 GB / 5.551 GB, free: 61.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/25.14, allocations: 11.66 kB / 5.551 GB, free: 61.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/25.16, allocations: 1.544 MB / 5.553 GB, free: 61.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008958/25.17, allocations: 2.334 MB / 5.555 GB, free: 61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002445/25.17, allocations: 383.8 kB / 5.555 GB, free: 60.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/25.17, allocations: 133.7 kB / 5.556 GB, free: 60.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007394/25.18, allocations: 2.584 MB / 5.558 GB, free: 60.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006012/25.18, allocations: 2.416 MB / 5.56 GB, free: 60.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/25.18, allocations: 3.938 kB / 5.56 GB, free: 60.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/25.18, allocations: 10.78 kB / 5.56 GB, free: 60.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.404e-05/25.18, allocations: 91.98 kB / 5.561 GB, free: 60.58 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03174/25.21, allocations: 13.97 MB / 5.574 GB, free: 52.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/25.22, allocations: 1.454 MB / 5.576 GB, free: 52.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/25.22, allocations: 0.5587 MB / 5.576 GB, free: 52.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009485/25.22, allocations: 0.6315 MB / 5.577 GB, free: 51.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/25.22, allocations: 43.94 kB / 5.577 GB, free: 51.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.287e-06/25.22, allocations: 0 / 5.577 GB, free: 51.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.004945/25.22, allocations: 1.516 MB / 5.578 GB, free: 51.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/25.22, allocations: 67.19 kB / 5.578 GB, free: 51.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/25.23, allocations: 1.603 MB / 5.58 GB, free: 51.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002787/25.23, allocations: 33.23 kB / 5.58 GB, free: 51.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/25.23, allocations: 1.057 MB / 5.581 GB, free: 50.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/25.23, allocations: 383.4 kB / 5.581 GB, free: 50.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/25.23, allocations: 3.312 kB / 5.581 GB, free: 50.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001319/25.23, allocations: 390.5 kB / 5.582 GB, free: 50.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/25.23, allocations: 0.6655 MB / 5.582 GB, free: 50.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/25.23, allocations: 1.652 MB / 5.584 GB, free: 48.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/25.24, allocations: 1.28 MB / 5.585 GB, free: 48.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/25.24, allocations: 9.875 kB / 5.585 GB, free: 48.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.007457/25.25, allocations: 2.66 MB / 5.588 GB, free: 48.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002361/25.25, allocations: 12.4 MB / 5.6 GB, free: 35.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.954e-05/25.25, allocations: 29.34 kB / 5.6 GB, free: 35.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.625e-05/25.25, allocations: 49.73 kB / 5.6 GB, free: 35.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006077/25.25, allocations: 0.6573 MB / 5.601 GB, free: 35.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/25.26, allocations: 2.42 MB / 5.603 GB, free: 33.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007121/25.26, allocations: 0.5482 MB / 5.604 GB, free: 32.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006885/25.26, allocations: 127.7 kB / 5.604 GB, free: 32.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/25.26, allocations: 4.75 kB / 5.604 GB, free: 32.92 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007638/25.27, allocations: 2.377 MB / 5.606 GB, free: 32.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/25.27, allocations: 32.06 kB / 5.606 GB, free: 32.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.394e-05/25.27, allocations: 48.53 kB / 5.606 GB, free: 32.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/25.28, allocations: 0.6194 MB / 5.607 GB, free: 32.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.2e-05/25.28, allocations: 66.19 kB / 5.607 GB, free: 32.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/25.28, allocations: 415.3 kB / 5.607 GB, free: 32.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/25.28, allocations: 129.3 kB / 5.607 GB, free: 32.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008097/25.28, allocations: 195.6 kB / 5.607 GB, free: 32.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/25.29, allocations: 238.3 kB / 5.608 GB, free: 32.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005102/25.29, allocations: 1.517 MB / 5.609 GB, free: 32.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/25.29, allocations: 10.5 kB / 5.609 GB, free: 32.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/25.29, allocations: 3.938 kB / 5.609 GB, free: 32.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/25.29, allocations: 13.05 kB / 5.609 GB, free: 32.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/25.3, allocations: 3.673 MB / 5.613 GB, free: 31.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/25.3, allocations: 6.25 kB / 5.613 GB, free: 31.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003218/25.3, allocations: 306.9 kB / 5.613 GB, free: 31.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/25.3, allocations: 11.28 kB / 5.613 GB, free: 31.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/25.3, allocations: 14.55 kB / 5.613 GB, free: 31.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009858/25.31, allocations: 2.358 MB / 5.615 GB, free: 29.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/25.31, allocations: 12.12 kB / 5.615 GB, free: 29.29 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004579/25.31, allocations: 2.147 MB / 5.618 GB, free: 28.21 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006466/25.32, allocations: 3.007 MB / 5.62 GB, free: 26.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/25.32, allocations: 492 kB / 5.621 GB, free: 26.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005815/25.32, allocations: 6.531 kB / 5.621 GB, free: 26.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004334/25.32, allocations: 241.1 kB / 5.621 GB, free: 26.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/25.32, allocations: 64.86 kB / 5.621 GB, free: 26.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/25.32, allocations: 58.41 kB / 5.621 GB, free: 26.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002748/25.33, allocations: 1.136 MB / 5.622 GB, free: 26.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.025/25.35, allocations: 3.573 MB / 5.626 GB, free: 23.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02158/25.37, allocations: 8.27 MB / 5.634 GB, free: 19.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0117/25.39, allocations: 3.175 MB / 5.637 GB, free: 17.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/25.39, allocations: 1.094 kB / 5.637 GB, free: 17.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/25.39, allocations: 0.6033 MB / 5.638 GB, free: 17.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007436/25.4, allocations: 0.7209 MB / 5.638 GB, free: 17.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/25.41, allocations: 3.187 MB / 5.641 GB, free: 15.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00397/25.41, allocations: 1.933 MB / 5.643 GB, free: 13.82 MB / 0.948 GB Notification: Performance of SimCode: time 2.885e-06/25.41, allocations: 0 / 5.643 GB, free: 13.82 MB / 0.948 GB