Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",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.43/4.43, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5518/4.982, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/5.261, allocations: 98.73 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3135/5.575, allocations: 124.4 MB / 0.7498 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/5.575, allocations: 79.59 kB / 0.7499 GB, free: 13.09 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01119/5.587, allocations: 1.747 MB / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/5.587, allocations: 8 kB / 0.7516 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/5.587, allocations: 7.906 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/5.587, allocations: 205.5 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/5.587, allocations: 0 / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/5.587, allocations: 4 kB / 0.7518 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003808/5.588, allocations: 63.97 kB / 0.7519 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/5.588, allocations: 77.66 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/5.588, allocations: 4 kB / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/5.588, allocations: 0 / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/5.588, allocations: 4 kB / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/5.589, allocations: 361 kB / 0.7523 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/5.589, allocations: 46.56 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/5.59, allocations: 36.91 kB / 0.7524 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/5.59, allocations: 11.91 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/5.59, allocations: 30.56 kB / 0.7524 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/5.59, allocations: 7.938 kB / 0.7524 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005372/5.59, allocations: 93.56 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/5.59, allocations: 51.41 kB / 0.7526 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/5.591, allocations: 117.2 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/5.591, allocations: 25.7 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/5.591, allocations: 96.22 kB / 0.7528 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/5.591, allocations: 19.8 kB / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/5.591, allocations: 0 / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001659/5.591, allocations: 322.8 kB / 0.7531 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/5.591, allocations: 24 kB / 0.7531 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/5.591, allocations: 27.98 kB / 0.7532 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/5.592, allocations: 27.98 kB / 0.7532 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.592, allocations: 7.875 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004367/5.592, allocations: 97.75 kB / 0.7533 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/5.592, allocations: 4 kB / 0.7533 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/5.592, allocations: 4 kB / 0.7533 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/5.592, allocations: 0 / 0.7533 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/5.593, allocations: 27.98 kB / 0.7533 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/5.593, allocations: 0 / 0.7533 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/5.593, allocations: 19.88 kB / 0.7534 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/5.593, allocations: 4 kB / 0.7534 GB, free: 9.332 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.0001238/5.593, allocations: 105 kB / 0.7535 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/5.593, allocations: 11.91 kB / 0.7535 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/5.594, allocations: 118.1 kB / 0.7536 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/5.594, allocations: 0 / 0.7536 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/5.594, allocations: 3.906 kB / 0.7536 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/5.594, allocations: 0 / 0.7536 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/5.594, allocations: 178.2 kB / 0.7538 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/5.594, allocations: 0 / 0.7538 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/5.595, allocations: 31.97 kB / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/5.595, allocations: 0 / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/5.595, allocations: 0 / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/5.595, allocations: 0 / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/5.595, allocations: 3.906 kB / 0.7538 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004984/5.595, allocations: 199.5 kB / 0.754 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006229/5.596, allocations: 0.5662 MB / 0.7545 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/5.596, allocations: 84.95 kB / 0.7546 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/5.596, allocations: 7.906 kB / 0.7546 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/5.596, allocations: 11.98 kB / 0.7546 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/5.596, allocations: 3.984 kB / 0.7546 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/5.596, allocations: 4 kB / 0.7546 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001166/5.597, allocations: 105.9 kB / 0.7547 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002365/5.599, allocations: 23.84 kB / 0.7548 GB, free: 7.781 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.0002703/5.599, allocations: 99.19 kB / 0.7549 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003621/5.6, allocations: 75.97 kB / 0.7549 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/5.6, allocations: 0 / 0.7549 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/5.6, allocations: 39.92 kB / 0.755 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/5.6, allocations: 0 / 0.755 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/5.601, allocations: 144 kB / 0.7551 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/5.602, allocations: 0.7269 MB / 0.7558 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/5.602, allocations: 0 / 0.7558 GB, free: 6.645 MB / 0.6355 GB