Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example4",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.865/3.865, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.517/4.382, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/4.599, allocations: 98.71 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.385/9.984, allocations: 2.219 GB / 2.847 GB, free: 129 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/9.984, allocations: 91.16 kB / 2.847 GB, free: 128.9 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 6.887/16.87, allocations: 1.406 GB / 4.254 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/16.87, allocations: 7.625 kB / 4.254 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/16.88, allocations: 0.534 MB / 4.254 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/16.88, allocations: 1.252 MB / 4.255 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001942/16.88, allocations: 263.7 kB / 4.256 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/16.88, allocations: 62.28 kB / 4.256 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002341/16.89, allocations: 0.7346 MB / 4.256 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/16.89, allocations: 1.064 MB / 4.257 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/16.89, allocations: 5.875 kB / 4.257 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/16.89, allocations: 7.75 kB / 4.257 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/16.89, allocations: 48.05 kB / 4.257 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/16.9, allocations: 6.457 MB / 4.264 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/16.9, allocations: 488.4 kB / 4.264 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/16.9, allocations: 194.2 kB / 4.264 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005607/16.9, allocations: 369.2 kB / 4.265 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/16.9, allocations: 41.78 kB / 4.265 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/16.9, allocations: 0 / 4.265 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.002278/16.91, allocations: 0.5165 MB / 4.265 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/16.91, allocations: 58.44 kB / 4.265 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/16.91, allocations: 0.8257 MB / 4.266 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/16.91, allocations: 25.7 kB / 4.266 GB, free: 107.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/16.91, allocations: 0.5255 MB / 4.267 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/16.91, allocations: 124.5 kB / 4.267 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/16.91, allocations: 0 / 4.267 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001248/16.91, allocations: 328.5 kB / 4.267 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/16.91, allocations: 189.2 kB / 4.267 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/16.91, allocations: 0.5642 MB / 4.268 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009454/16.91, allocations: 314.6 kB / 4.268 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/16.91, allocations: 3.844 kB / 4.268 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002306/16.91, allocations: 0.7618 MB / 4.269 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009435/16.91, allocations: 4.099 MB / 4.273 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/16.91, allocations: 11.09 kB / 4.273 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/16.91, allocations: 14.25 kB / 4.273 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/16.92, allocations: 218.1 kB / 4.273 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/16.92, allocations: 24.14 kB / 4.273 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/16.92, allocations: 186 kB / 4.273 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/16.92, allocations: 41.45 kB / 4.273 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/16.92, allocations: 4.844 kB / 4.273 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/16.92, allocations: 0.6172 MB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/16.92, allocations: 8.969 kB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/16.92, allocations: 21.97 kB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/16.92, allocations: 212 kB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/16.92, allocations: 22.28 kB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/16.93, allocations: 153.3 kB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/16.93, allocations: 42.42 kB / 4.274 GB, free: 102.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003156/16.93, allocations: 135.6 kB / 4.275 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/16.93, allocations: 113.4 kB / 4.275 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/16.93, allocations: 0.4943 MB / 4.275 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/16.93, allocations: 8.875 kB / 4.275 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/16.93, allocations: 0 / 4.275 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/16.93, allocations: 3.562 kB / 4.275 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/16.93, allocations: 1.675 MB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/16.93, allocations: 7.25 kB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/16.93, allocations: 105.8 kB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/16.93, allocations: 7.594 kB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/16.93, allocations: 14.05 kB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/16.93, allocations: 9.281 kB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-05/16.93, allocations: 3.656 kB / 4.277 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001735/16.94, allocations: 0.8357 MB / 4.278 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002262/16.94, allocations: 1.441 MB / 4.279 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/16.94, allocations: 260.6 kB / 4.279 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/16.94, allocations: 3.375 kB / 4.279 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/16.94, allocations: 110.5 kB / 4.28 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/16.94, allocations: 33.56 kB / 4.28 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/16.94, allocations: 20.17 kB / 4.28 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001361/16.94, allocations: 0.6234 MB / 4.28 GB, free: 99.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008519/16.95, allocations: 1.634 MB / 4.282 GB, free: 99.93 MB / 0.8542 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 (32): * Single equations (assignments): 32 * 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.006003/16.96, allocations: 3.51 MB / 4.285 GB, free: 98.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002457/16.96, allocations: 0.8261 MB / 4.286 GB, free: 98.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/16.96, allocations: 2.875 kB / 4.286 GB, free: 98.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/16.96, allocations: 176.1 kB / 4.286 GB, free: 98.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003567/16.96, allocations: 371.8 kB / 4.287 GB, free: 98.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007988/16.97, allocations: 1.687 MB / 4.288 GB, free: 98.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/16.97, allocations: 1.312 MB / 4.289 GB, free: 97.34 MB / 0.8542 GB Notification: Performance of SimCode: time 1.523e-06/16.97, allocations: 0 / 4.289 GB, free: 97.34 MB / 0.8542 GB