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.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",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.172/4.172, allocations: 433 MB / 440.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2624/4.434, allocations: 104.3 MB / 0.5319 GB, free: 2.344 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/4.995, allocations: 98.7 MB / 0.6283 GB, free: 104 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/5.245, allocations: 123.7 MB / 0.7491 GB, free: 4.191 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.245, allocations: 67.97 kB / 0.7492 GB, free: 4.125 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00669/5.252, allocations: 1.358 MB / 0.7505 GB, free: 2.723 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/5.252, allocations: 8 kB / 0.7505 GB, free: 2.715 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/5.252, allocations: 0 / 0.7505 GB, free: 2.715 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/5.252, allocations: 167 kB / 0.7507 GB, free: 2.512 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/5.252, allocations: 0 / 0.7507 GB, free: 2.512 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/5.252, allocations: 0 / 0.7507 GB, free: 2.512 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.228e-05/5.252, allocations: 12 kB / 0.7507 GB, free: 2.5 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/5.252, allocations: 41.69 kB / 0.7507 GB, free: 2.453 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/5.252, allocations: 0 / 0.7507 GB, free: 2.453 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/5.252, allocations: 3.938 kB / 0.7508 GB, free: 2.449 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/5.252, allocations: 0 / 0.7508 GB, free: 2.449 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/5.253, allocations: 265.3 kB / 0.751 GB, free: 2.152 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/5.253, allocations: 22.58 kB / 0.751 GB, free: 2.121 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/5.253, allocations: 16.91 kB / 0.751 GB, free: 2.102 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/5.253, allocations: 81.11 kB / 0.7511 GB, free: 2.004 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/5.253, allocations: 30.56 kB / 0.7511 GB, free: 1.965 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/5.253, allocations: 0 / 0.7511 GB, free: 1.965 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2): time 0.0002266/5.253, allocations: 49.59 kB / 0.7512 GB, free: 1.91 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/5.253, allocations: 51.41 kB / 0.7512 GB, free: 1.848 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/5.253, allocations: 93 kB / 0.7513 GB, free: 1.75 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/5.254, allocations: 29.64 kB / 0.7514 GB, free: 1.715 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/5.254, allocations: 84.14 kB / 0.7514 GB, free: 1.629 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/5.254, allocations: 7.891 kB / 0.7514 GB, free: 1.621 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/5.254, allocations: 0 / 0.7514 GB, free: 1.621 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.000134/5.254, allocations: 314.8 kB / 0.7517 GB, free: 1.305 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/5.254, allocations: 8.031 kB / 0.7518 GB, free: 1.297 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/5.254, allocations: 4 kB / 0.7518 GB, free: 1.293 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/5.254, allocations: 8 kB / 0.7518 GB, free: 1.285 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/5.254, allocations: 0 / 0.7518 GB, free: 1.285 MB / 0.6199 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001309/5.254, allocations: 45.59 kB / 0.7518 GB, free: 1.234 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/5.254, allocations: 4 kB / 0.7518 GB, free: 1.23 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/5.254, allocations: 0 / 0.7518 GB, free: 1.23 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/5.254, allocations: 0 / 0.7518 GB, free: 1.23 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/5.254, allocations: 16.09 kB / 0.7518 GB, free: 1.215 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/5.254, allocations: 4 kB / 0.7518 GB, free: 1.211 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/5.254, allocations: 7.984 kB / 0.7518 GB, free: 1.203 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/5.254, allocations: 0 / 0.7518 GB, free: 1.203 MB / 0.6199 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 (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 8.678e-05/5.255, allocations: 105 kB / 0.7519 GB, free: 1.094 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/5.255, allocations: 15.78 kB / 0.752 GB, free: 1.078 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/5.255, allocations: 45 kB / 0.752 GB, free: 1.031 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/5.255, allocations: 4 kB / 0.752 GB, free: 1.027 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/5.255, allocations: 0 / 0.752 GB, free: 1.027 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/5.255, allocations: 3.984 kB / 0.752 GB, free: 1.023 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/5.255, allocations: 134.2 kB / 0.7521 GB, free: 0.8555 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/5.255, allocations: 7.844 kB / 0.7521 GB, free: 0.8477 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/5.255, allocations: 16.27 kB / 0.7522 GB, free: 0.832 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/5.255, allocations: 0 / 0.7522 GB, free: 0.832 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/5.255, allocations: 8 kB / 0.7522 GB, free: 0.8242 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/5.255, allocations: 0 / 0.7522 GB, free: 0.8242 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.255, allocations: 0 / 0.7522 GB, free: 0.8242 MB / 0.6199 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001855/5.255, allocations: 143.4 kB / 0.7523 GB, free: 0.668 MB / 0.6199 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000304/5.256, allocations: 0.5078 MB / 0.7528 GB, free: 144 kB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/5.256, allocations: 85 kB / 0.7529 GB, free: 40 kB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/5.256, allocations: 0 / 0.7529 GB, free: 40 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/5.256, allocations: 8 kB / 0.7529 GB, free: 32 kB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/5.256, allocations: 3.984 kB / 0.7529 GB, free: 28 kB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/5.256, allocations: 4.031 kB / 0.7529 GB, free: 24 kB / 0.6199 GB Notification: Performance of sort global known variables: time 0.0001352/5.256, allocations: 83.28 kB / 0.753 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001138/5.257, allocations: 19.94 kB / 0.753 GB, free: 15.92 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 (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.0002445/5.258, allocations: 107.2 kB / 0.7531 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000117/5.258, allocations: 18.12 kB / 0.7531 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/5.258, allocations: 0 / 0.7531 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/5.258, allocations: 12 kB / 0.7531 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/5.258, allocations: 8.031 kB / 0.7531 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/5.258, allocations: 55.92 kB / 0.7532 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/5.259, allocations: 0.688 MB / 0.7539 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/5.259, allocations: 0 / 0.7539 GB, free: 14.98 MB / 0.6355 GB