Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.812/3.812, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5496/4.362, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/4.633, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.344/9.977, allocations: 2.203 GB / 2.831 GB, free: 145.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/9.978, allocations: 85.44 kB / 2.831 GB, free: 145.2 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 4.534/14.51, allocations: 0.9703 GB / 3.801 GB, free: 104.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/14.51, allocations: 8 kB / 3.801 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/14.52, allocations: 0.5979 MB / 3.802 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/14.52, allocations: 1.076 MB / 3.803 GB, free: 102.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/14.52, allocations: 177.5 kB / 3.803 GB, free: 102.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005076/14.52, allocations: 52 kB / 3.803 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003684/14.53, allocations: 1.07 MB / 3.804 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/14.53, allocations: 1.036 MB / 3.805 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/14.53, allocations: 4 kB / 3.805 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/14.53, allocations: 0 / 3.805 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/14.53, allocations: 45.98 kB / 3.805 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/14.54, allocations: 4.092 MB / 3.809 GB, free: 96.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/14.55, allocations: 0.7526 MB / 3.81 GB, free: 95.36 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/14.55, allocations: 0.5057 MB / 3.81 GB, free: 94.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/14.55, allocations: 0.6224 MB / 3.811 GB, free: 94.13 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/14.55, allocations: 39.22 kB / 3.811 GB, free: 94.09 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 3.546e-06/14.55, allocations: 0 / 3.811 GB, free: 94.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.00477/14.55, allocations: 1.188 MB / 3.812 GB, free: 92.89 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/14.55, allocations: 67.97 kB / 3.812 GB, free: 92.81 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/14.56, allocations: 0.5585 MB / 3.813 GB, free: 92.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003563/14.56, allocations: 29.7 kB / 3.813 GB, free: 92.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/14.56, allocations: 340.2 kB / 3.813 GB, free: 91.88 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/14.56, allocations: 252.1 kB / 3.813 GB, free: 91.63 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/14.56, allocations: 0 / 3.813 GB, free: 91.63 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/14.56, allocations: 334 kB / 3.814 GB, free: 91.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/14.56, allocations: 409.4 kB / 3.814 GB, free: 90.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/14.56, allocations: 0.5401 MB / 3.815 GB, free: 90.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/14.56, allocations: 0.6148 MB / 3.815 GB, free: 89.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/14.56, allocations: 0 / 3.815 GB, free: 89.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004621/14.57, allocations: 1.216 MB / 3.816 GB, free: 88.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/14.57, allocations: 454.8 kB / 3.817 GB, free: 88.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/14.57, allocations: 3.656 kB / 3.817 GB, free: 88.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/14.57, allocations: 4 kB / 3.817 GB, free: 88.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005072/14.57, allocations: 297.6 kB / 3.817 GB, free: 87.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/14.57, allocations: 1.21 MB / 3.818 GB, free: 86.47 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/14.58, allocations: 185.6 kB / 3.819 GB, free: 86.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/14.58, allocations: 39.97 kB / 3.819 GB, free: 86.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/14.58, allocations: 0 / 3.819 GB, free: 86.27 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005723/14.58, allocations: 1.102 MB / 3.82 GB, free: 85.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/14.58, allocations: 2.469 kB / 3.82 GB, free: 85.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/14.58, allocations: 7.984 kB / 3.82 GB, free: 85.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/14.59, allocations: 270.2 kB / 3.82 GB, free: 84.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/14.59, allocations: 4 kB / 3.82 GB, free: 84.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/14.59, allocations: 179.9 kB / 3.82 GB, free: 84.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/14.59, allocations: 39.97 kB / 3.82 GB, free: 84.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004704/14.59, allocations: 120.8 kB / 3.82 GB, free: 84.58 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/14.59, allocations: 98.8 kB / 3.82 GB, free: 84.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/14.6, allocations: 1.271 MB / 3.822 GB, free: 83.22 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/14.6, allocations: 8 kB / 3.822 GB, free: 83.21 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/14.6, allocations: 0 / 3.822 GB, free: 83.21 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/14.6, allocations: 3.984 kB / 3.822 GB, free: 83.21 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/14.61, allocations: 2.637 MB / 3.824 GB, free: 80.51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/14.61, allocations: 4 kB / 3.824 GB, free: 80.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/14.61, allocations: 271.4 kB / 3.824 GB, free: 80.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.527e-05/14.61, allocations: 10.88 kB / 3.824 GB, free: 80.25 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/14.61, allocations: 23.89 kB / 3.824 GB, free: 80.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006956/14.61, allocations: 1.198 MB / 3.826 GB, free: 78.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/14.61, allocations: 4 kB / 3.826 GB, free: 78.98 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004223/14.62, allocations: 1.538 MB / 3.827 GB, free: 77.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004919/14.62, allocations: 2.053 MB / 3.829 GB, free: 75.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/14.63, allocations: 307.5 kB / 3.829 GB, free: 74.78 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/14.63, allocations: 8 kB / 3.829 GB, free: 74.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/14.63, allocations: 166.7 kB / 3.83 GB, free: 74.63 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/14.63, allocations: 54.84 kB / 3.83 GB, free: 74.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/14.63, allocations: 35.97 kB / 3.83 GB, free: 74.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001159/14.63, allocations: 447.1 kB / 3.83 GB, free: 74.11 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01295/14.64, allocations: 1.288 MB / 3.831 GB, free: 72.82 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005211/14.65, allocations: 2.628 MB / 3.834 GB, free: 70.43 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00509/14.65, allocations: 1.623 MB / 3.836 GB, free: 68.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/14.65, allocations: 3.938 kB / 3.836 GB, free: 68.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/14.66, allocations: 0.5405 MB / 3.836 GB, free: 68.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/14.66, allocations: 408.8 kB / 3.836 GB, free: 67.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/14.69, allocations: 2.399 MB / 3.839 GB, free: 65.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/14.69, allocations: 1.247 MB / 3.84 GB, free: 64.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.292e-06/14.69, allocations: 0 / 3.84 GB, free: 64.1 MB / 0.823 GB