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.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.947/3.947, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5661/4.513, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/4.815, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/5.823, allocations: 390.6 MB / 1.01 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/5.823, allocations: 89.83 kB / 1.01 GB, free: 13.64 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 2.229/8.052, allocations: 419.3 MB / 1.419 GB, free: 225.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/8.053, allocations: 11.03 kB / 1.419 GB, free: 225.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/8.054, allocations: 131.9 kB / 1.419 GB, free: 225.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04734/8.101, allocations: 12.26 MB / 1.431 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/8.101, allocations: 20.91 kB / 1.431 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/8.101, allocations: 48.59 kB / 1.432 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001384/8.103, allocations: 455.5 kB / 1.432 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/8.104, allocations: 0.615 MB / 1.433 GB, free: 224.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/8.104, allocations: 5.312 kB / 1.433 GB, free: 224.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/8.105, allocations: 0 / 1.433 GB, free: 224.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/8.105, allocations: 21.83 kB / 1.433 GB, free: 224.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006137/8.111, allocations: 3.657 MB / 1.436 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/8.111, allocations: 192.6 kB / 1.436 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/8.112, allocations: 130 kB / 1.436 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/8.112, allocations: 0.4969 MB / 1.437 GB, free: 222.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/8.112, allocations: 40.67 kB / 1.437 GB, free: 222.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 2.846e-06/8.112, allocations: 3.906 kB / 1.437 GB, free: 222.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001135/8.113, allocations: 321.9 kB / 1.437 GB, free: 222.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/8.113, allocations: 55 kB / 1.437 GB, free: 222 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/8.115, allocations: 0.6575 MB / 1.438 GB, free: 221.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/8.115, allocations: 28.64 kB / 1.438 GB, free: 221.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/8.115, allocations: 391.4 kB / 1.438 GB, free: 221.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/8.115, allocations: 93.61 kB / 1.438 GB, free: 221.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/8.115, allocations: 0 / 1.438 GB, free: 221.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/8.115, allocations: 327 kB / 1.439 GB, free: 221.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/8.116, allocations: 110.8 kB / 1.439 GB, free: 221.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/8.116, allocations: 333.8 kB / 1.439 GB, free: 221.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/8.118, allocations: 185 kB / 1.439 GB, free: 221.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/8.118, allocations: 3.812 kB / 1.439 GB, free: 221.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002607/8.12, allocations: 489.5 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/8.12, allocations: 3.969 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/8.12, allocations: 7.547 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.531e-05/8.12, allocations: 14.81 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/8.122, allocations: 117.7 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/8.122, allocations: 16.97 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/8.124, allocations: 86.19 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/8.125, allocations: 28.92 kB / 1.44 GB, free: 221 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0002558/8.125, allocations: 121.5 kB / 1.44 GB, free: 220.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/8.125, allocations: 82.66 kB / 1.44 GB, free: 220.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/8.127, allocations: 386.2 kB / 1.441 GB, free: 220.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/8.127, allocations: 0 / 1.441 GB, free: 220.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/8.127, allocations: 6.188 kB / 1.441 GB, free: 220.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/8.129, allocations: 369.4 kB / 1.441 GB, free: 220.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/8.133, allocations: 1.114 MB / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/8.133, allocations: 0 / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009128/8.134, allocations: 80.19 kB / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/8.134, allocations: 3.75 kB / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/8.134, allocations: 3.625 kB / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/8.134, allocations: 5.562 kB / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/8.134, allocations: 3.969 kB / 1.442 GB, free: 220.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002338/8.137, allocations: 0.6388 MB / 1.443 GB, free: 220.1 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00194/8.139, allocations: 1.22 MB / 1.444 GB, free: 219.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000516/8.139, allocations: 213.5 kB / 1.444 GB, free: 219.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/8.139, allocations: 6.812 kB / 1.444 GB, free: 219.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/8.14, allocations: 55.97 kB / 1.444 GB, free: 219.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/8.141, allocations: 21.78 kB / 1.444 GB, free: 219.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/8.141, allocations: 9.781 kB / 1.444 GB, free: 219.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001009/8.142, allocations: 0.4977 MB / 1.445 GB, free: 219.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00257/8.144, allocations: 435.9 kB / 1.445 GB, free: 219.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001565/8.146, allocations: 0.5708 MB / 1.446 GB, free: 219.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001308/8.147, allocations: 316.3 kB / 1.446 GB, free: 219.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/8.147, allocations: 2.969 kB / 1.446 GB, free: 219.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/8.148, allocations: 137.3 kB / 1.446 GB, free: 219.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006508/8.154, allocations: 458.2 kB / 1.447 GB, free: 219.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/8.16, allocations: 1.138 MB / 1.448 GB, free: 218.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/8.161, allocations: 1.149 MB / 1.449 GB, free: 218 MB / 0.823 GB Notification: Performance of SimCode: time 1.563e-06/8.161, allocations: 0 / 1.449 GB, free: 218 MB / 0.823 GB