Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.858/3.858, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2379/4.096, allocations: 104.4 MB / 0.5319 GB, free: 4.473 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/4.661, allocations: 98.7 MB / 0.6283 GB, free: 0.6406 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/9.575, allocations: 2.17 GB / 2.798 GB, free: 52.54 MB / 0.8308 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/9.575, allocations: 90.5 kB / 2.798 GB, free: 52.48 MB / 0.8308 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.1283/9.703, allocations: 40.37 MB / 2.838 GB, free: 15.05 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/9.703, allocations: 12 kB / 2.838 GB, free: 15.04 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/9.704, allocations: 43.77 kB / 2.838 GB, free: 15 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/9.704, allocations: 194.8 kB / 2.838 GB, free: 14.77 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/9.704, allocations: 4 kB / 2.838 GB, free: 14.77 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/9.704, allocations: 11.94 kB / 2.838 GB, free: 14.75 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002321/9.704, allocations: 60.42 kB / 2.838 GB, free: 14.7 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/9.705, allocations: 89.61 kB / 2.838 GB, free: 14.6 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/9.705, allocations: 3.984 kB / 2.838 GB, free: 14.6 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/9.705, allocations: 8 kB / 2.838 GB, free: 14.59 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/9.705, allocations: 0 / 2.838 GB, free: 14.59 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/9.705, allocations: 416.8 kB / 2.839 GB, free: 14.14 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/9.706, allocations: 74.5 kB / 2.839 GB, free: 14.06 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/9.706, allocations: 24.92 kB / 2.839 GB, free: 14.04 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/9.706, allocations: 4 kB / 2.839 GB, free: 14.03 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/9.706, allocations: 38.5 kB / 2.839 GB, free: 13.98 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/9.706, allocations: 4 kB / 2.839 GB, free: 13.98 MB / 0.8308 GB Notification: Performance of matching and sorting (n=7): time 0.000273/9.706, allocations: 77.55 kB / 2.839 GB, free: 13.9 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/9.706, allocations: 55.41 kB / 2.839 GB, free: 13.83 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/9.706, allocations: 132 kB / 2.839 GB, free: 13.7 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/9.706, allocations: 25.7 kB / 2.839 GB, free: 13.66 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/9.706, allocations: 107.9 kB / 2.839 GB, free: 13.55 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/9.706, allocations: 23.66 kB / 2.839 GB, free: 13.53 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/9.706, allocations: 0 / 2.839 GB, free: 13.53 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/9.707, allocations: 330.7 kB / 2.84 GB, free: 13.2 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/9.707, allocations: 19.94 kB / 2.84 GB, free: 13.18 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/9.707, allocations: 24.09 kB / 2.84 GB, free: 13.16 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.087e-05/9.707, allocations: 19.98 kB / 2.84 GB, free: 13.14 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/9.707, allocations: 0 / 2.84 GB, free: 13.14 MB / 0.8308 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002/9.707, allocations: 89.81 kB / 2.84 GB, free: 13.04 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/9.707, allocations: 8 kB / 2.84 GB, free: 13.04 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/9.707, allocations: 0 / 2.84 GB, free: 13.04 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/9.707, allocations: 3.984 kB / 2.84 GB, free: 13.03 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/9.707, allocations: 27.98 kB / 2.84 GB, free: 13 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/9.707, allocations: 0 / 2.84 GB, free: 13 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/9.708, allocations: 11.91 kB / 2.84 GB, free: 12.99 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/9.708, allocations: 4 kB / 2.84 GB, free: 12.99 MB / 0.8308 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.597e-05/9.708, allocations: 104.9 kB / 2.84 GB, free: 12.88 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/9.708, allocations: 11.91 kB / 2.84 GB, free: 12.87 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/9.708, allocations: 94.06 kB / 2.84 GB, free: 12.77 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/9.708, allocations: 0 / 2.84 GB, free: 12.77 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/9.708, allocations: 4 kB / 2.84 GB, free: 12.77 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/9.708, allocations: 0 / 2.84 GB, free: 12.77 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/9.708, allocations: 186.2 kB / 2.84 GB, free: 12.55 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/9.708, allocations: 0 / 2.84 GB, free: 12.55 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/9.709, allocations: 23.98 kB / 2.84 GB, free: 12.52 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/9.709, allocations: 0 / 2.84 GB, free: 12.52 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/9.709, allocations: 11.91 kB / 2.84 GB, free: 12.51 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/9.709, allocations: 3.938 kB / 2.84 GB, free: 12.51 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/9.709, allocations: 0 / 2.84 GB, free: 12.51 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002126/9.709, allocations: 171.5 kB / 2.84 GB, free: 12.32 MB / 0.8308 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003497/9.709, allocations: 0.5665 MB / 2.841 GB, free: 11.74 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/9.709, allocations: 92.94 kB / 2.841 GB, free: 11.63 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/9.709, allocations: 0 / 2.841 GB, free: 11.63 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/9.709, allocations: 11.98 kB / 2.841 GB, free: 11.62 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/9.71, allocations: 7.844 kB / 2.841 GB, free: 11.61 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/9.71, allocations: 4 kB / 2.841 GB, free: 11.61 MB / 0.8308 GB Notification: Performance of sort global known variables: time 9.94e-05/9.71, allocations: 119.1 kB / 2.841 GB, free: 11.49 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.001336/9.711, allocations: 95.98 kB / 2.841 GB, free: 11.4 MB / 0.8308 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008758/9.712, allocations: 0.6471 MB / 2.842 GB, free: 10.74 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.0002175/9.712, allocations: 55.92 kB / 2.842 GB, free: 10.69 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/9.712, allocations: 0 / 2.842 GB, free: 10.69 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/9.712, allocations: 27.94 kB / 2.842 GB, free: 10.66 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/9.713, allocations: 32.58 kB / 2.842 GB, free: 10.63 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/9.713, allocations: 148.5 kB / 2.842 GB, free: 10.46 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/9.714, allocations: 0.727 MB / 2.843 GB, free: 9.707 MB / 0.8308 GB Notification: Performance of SimCode: time 8.51e-07/9.714, allocations: 4 kB / 2.843 GB, free: 9.703 MB / 0.8308 GB