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.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",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.208/4.208, allocations: 433 MB / 440.3 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5918/4.8, allocations: 104.3 MB / 0.5319 GB, free: 12.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/5.056, allocations: 98.72 MB / 0.6283 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9693/6.026, allocations: 396.5 MB / 1.016 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/6.026, allocations: 90.84 kB / 1.016 GB, free: 5.566 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 4.073/10.1, allocations: 0.7671 GB / 1.783 GB, free: 90.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/10.1, allocations: 13 kB / 1.783 GB, free: 90.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/10.1, allocations: 261.5 kB / 1.783 GB, free: 90.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1205/10.22, allocations: 23.37 MB / 1.806 GB, free: 89.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/10.22, allocations: 49.22 kB / 1.806 GB, free: 89.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/10.22, allocations: 82.16 kB / 1.806 GB, free: 89.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003111/10.22, allocations: 0.8726 MB / 1.807 GB, free: 89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/10.23, allocations: 1.165 MB / 1.808 GB, free: 88.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/10.23, allocations: 16.44 kB / 1.808 GB, free: 88.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/10.23, allocations: 0 / 1.808 GB, free: 88.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/10.23, allocations: 41.38 kB / 1.808 GB, free: 88.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/10.24, allocations: 7.853 MB / 1.816 GB, free: 84.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/10.24, allocations: 327.1 kB / 1.816 GB, free: 84.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/10.24, allocations: 239.4 kB / 1.816 GB, free: 84.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006939/10.25, allocations: 0.8311 MB / 1.817 GB, free: 83.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/10.25, allocations: 41.34 kB / 1.817 GB, free: 83.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=52): time 3.356e-06/10.25, allocations: 3.719 kB / 1.817 GB, free: 83.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.002053/10.25, allocations: 0.5566 MB / 1.818 GB, free: 82.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/10.25, allocations: 62.25 kB / 1.818 GB, free: 82.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/10.25, allocations: 1.228 MB / 1.819 GB, free: 82.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/10.25, allocations: 29.64 kB / 1.819 GB, free: 82.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005695/10.25, allocations: 0.6726 MB / 1.82 GB, free: 82.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/10.25, allocations: 190.3 kB / 1.82 GB, free: 82.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/10.25, allocations: 0 / 1.82 GB, free: 82.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001165/10.25, allocations: 343.1 kB / 1.82 GB, free: 81.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/10.25, allocations: 211.7 kB / 1.82 GB, free: 81.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/10.25, allocations: 0.578 MB / 1.821 GB, free: 81.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/10.25, allocations: 352.3 kB / 1.821 GB, free: 81.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/10.25, allocations: 3.656 kB / 1.821 GB, free: 81.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00301/10.26, allocations: 0.8849 MB / 1.822 GB, free: 81.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/10.26, allocations: 6.156 kB / 1.822 GB, free: 81.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/10.26, allocations: 10.66 kB / 1.822 GB, free: 81.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.245e-05/10.26, allocations: 21.62 kB / 1.822 GB, free: 81.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/10.26, allocations: 233.2 kB / 1.822 GB, free: 81.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/10.26, allocations: 21.62 kB / 1.822 GB, free: 81.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/10.26, allocations: 180 kB / 1.822 GB, free: 81.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/10.26, allocations: 49.42 kB / 1.822 GB, free: 81.29 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0002496/10.26, allocations: 135.9 kB / 1.823 GB, free: 81.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/10.26, allocations: 167.2 kB / 1.823 GB, free: 81.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/10.27, allocations: 0.6467 MB / 1.823 GB, free: 81.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/10.27, allocations: 7.25 kB / 1.823 GB, free: 81.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/10.27, allocations: 7.266 kB / 1.823 GB, free: 81.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/10.27, allocations: 0.6161 MB / 1.824 GB, free: 80.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/10.27, allocations: 1.97 MB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/10.27, allocations: 10.83 kB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/10.27, allocations: 174.3 kB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/10.28, allocations: 2.75 kB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/10.28, allocations: 10.22 kB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/10.28, allocations: 7.25 kB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/10.28, allocations: 3.938 kB / 1.826 GB, free: 80.41 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003567/10.28, allocations: 1.114 MB / 1.827 GB, free: 80.02 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00397/10.28, allocations: 1.867 MB / 1.829 GB, free: 79.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/10.28, allocations: 341.8 kB / 1.829 GB, free: 79.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/10.28, allocations: 3.906 kB / 1.829 GB, free: 79.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/10.29, allocations: 119.4 kB / 1.83 GB, free: 79.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/10.29, allocations: 44.7 kB / 1.83 GB, free: 79.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/10.29, allocations: 20.94 kB / 1.83 GB, free: 79.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.002211/10.29, allocations: 0.9137 MB / 1.83 GB, free: 78.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005128/10.29, allocations: 0.8546 MB / 1.831 GB, free: 78.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002373/10.3, allocations: 0.96 MB / 1.832 GB, free: 78.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001662/10.3, allocations: 0.5789 MB / 1.833 GB, free: 78.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/10.3, allocations: 0 / 1.833 GB, free: 78.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006474/10.3, allocations: 263.7 kB / 1.833 GB, free: 78.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009183/10.31, allocations: 0.9191 MB / 1.834 GB, free: 78.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/10.32, allocations: 2.246 MB / 1.836 GB, free: 77.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/10.32, allocations: 1.579 MB / 1.838 GB, free: 77.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.124e-06/10.32, allocations: 0 / 1.838 GB, free: 77.19 MB / 0.8386 GB