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.Example5.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.Example5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example5",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.757/3.757, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5889/4.346, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/4.6, allocations: 98.74 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/4.836, allocations: 122.9 MB / 0.7483 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/4.837, allocations: 71.61 kB / 0.7484 GB, free: 14.61 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001827/4.838, allocations: 486.4 kB / 0.7489 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/4.838, allocations: 12 kB / 0.7489 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/4.838, allocations: 4 kB / 0.7489 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/4.839, allocations: 178.9 kB / 0.7491 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/4.839, allocations: 0 / 0.7491 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/4.839, allocations: 0 / 0.7491 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.64e-05/4.839, allocations: 4 kB / 0.7491 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.19e-05/4.839, allocations: 37.69 kB / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/4.839, allocations: 0 / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/4.839, allocations: 0 / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/4.839, allocations: 0 / 0.7491 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/4.839, allocations: 138.2 kB / 0.7492 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/4.839, allocations: 22.56 kB / 0.7492 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/4.839, allocations: 8.906 kB / 0.7493 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/4.839, allocations: 11.94 kB / 0.7493 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/4.839, allocations: 30.56 kB / 0.7493 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/4.839, allocations: 0 / 0.7493 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001652/4.84, allocations: 37.69 kB / 0.7493 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/4.84, allocations: 51.41 kB / 0.7494 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/4.84, allocations: 101 kB / 0.7495 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/4.84, allocations: 25.7 kB / 0.7495 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/4.84, allocations: 88.14 kB / 0.7496 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/4.84, allocations: 11.92 kB / 0.7496 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/4.84, allocations: 0 / 0.7496 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001348/4.84, allocations: 310.8 kB / 0.7499 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/4.84, allocations: 4 kB / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/4.84, allocations: 13.72 kB / 0.7499 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/4.84, allocations: 19.86 kB / 0.7499 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/4.84, allocations: 3.938 kB / 0.7499 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/4.84, allocations: 49.66 kB / 0.75 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/4.84, allocations: 4 kB / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/4.84, allocations: 0 / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/4.84, allocations: 4 kB / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/4.84, allocations: 0 / 0.75 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/4.841, allocations: 4 kB / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/4.841, allocations: 0 / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/4.841, allocations: 0 / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001106/4.841, allocations: 109 kB / 0.7501 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/4.841, allocations: 7.906 kB / 0.7501 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/4.841, allocations: 48.83 kB / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/4.841, allocations: 4 kB / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/4.841, allocations: 0 / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/4.841, allocations: 0 / 0.7502 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/4.841, allocations: 134.1 kB / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/4.841, allocations: 0 / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/4.842, allocations: 4 kB / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/4.842, allocations: 0 / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/4.842, allocations: 4.031 kB / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/4.842, allocations: 0 / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/4.842, allocations: 0 / 0.7503 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003525/4.842, allocations: 88.95 kB / 0.7504 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000624/4.843, allocations: 465.6 kB / 0.7508 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/4.843, allocations: 81.05 kB / 0.7509 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/4.843, allocations: 0 / 0.7509 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/4.843, allocations: 4.031 kB / 0.7509 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/4.843, allocations: 0 / 0.7509 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/4.843, allocations: 3.984 kB / 0.7509 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001102/4.843, allocations: 87.53 kB / 0.751 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002281/4.845, allocations: 11.91 kB / 0.751 GB, free: 11.64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003368/4.846, allocations: 99.31 kB / 0.7511 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001823/4.846, allocations: 23.92 kB / 0.7511 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/4.846, allocations: 0 / 0.7511 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/4.846, allocations: 4 kB / 0.7511 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/4.847, allocations: 192 / 0.7511 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/4.847, allocations: 76.2 kB / 0.7512 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/4.848, allocations: 0.6919 MB / 0.7519 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of SimCode: time 2.435e-06/4.848, allocations: 12.06 kB / 0.7519 GB, free: 10.67 MB / 0.6355 GB