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.FallingFactorial.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.FallingFactorial,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",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.233/4.233, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6118/4.845, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/5.076, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2616/5.338, allocations: 124.1 MB / 0.7495 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.338, allocations: 75.59 kB / 0.7495 GB, free: 13.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004901/5.343, allocations: 1.069 MB / 0.7506 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/5.343, allocations: 12 kB / 0.7506 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/5.343, allocations: 3.906 kB / 0.7506 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/5.343, allocations: 179 kB / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/5.343, allocations: 0 / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/5.343, allocations: 4 kB / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001115/5.343, allocations: 16 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/5.344, allocations: 53.62 kB / 0.7508 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/5.344, allocations: 0 / 0.7508 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/5.344, allocations: 3.906 kB / 0.7508 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/5.344, allocations: 3.938 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/5.344, allocations: 253.4 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/5.344, allocations: 46.56 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/5.345, allocations: 12.92 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/5.345, allocations: 401.6 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/5.345, allocations: 30.56 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/5.345, allocations: 0 / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002574/5.345, allocations: 49.59 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/5.345, allocations: 55.41 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.02e-05/5.345, allocations: 101 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/5.345, allocations: 29.7 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/5.345, allocations: 80.14 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/5.346, allocations: 7.844 kB / 0.7518 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/5.346, allocations: 4 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001205/5.346, allocations: 314.8 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/5.346, allocations: 7.984 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/5.346, allocations: 8 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/5.346, allocations: 11.91 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/5.346, allocations: 0 / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001569/5.346, allocations: 57.77 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/5.346, allocations: 4 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/5.346, allocations: 0 / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/5.346, allocations: 4.031 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/5.346, allocations: 15.98 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/5.346, allocations: 0 / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/5.346, allocations: 19.89 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/5.346, allocations: 0 / 0.7523 GB, free: 10.37 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.811e-05/5.347, allocations: 102.2 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/5.347, allocations: 4 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/5.347, allocations: 61.3 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/5.347, allocations: 7.906 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/5.347, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/5.347, allocations: 0 / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/5.347, allocations: 142.2 kB / 0.7526 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/5.347, allocations: 0 / 0.7526 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/5.347, allocations: 15.98 kB / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/5.347, allocations: 0 / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/5.347, allocations: 0 / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/5.347, allocations: 256 / 0.7526 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/5.347, allocations: 7.906 kB / 0.7526 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003592/5.348, allocations: 147.5 kB / 0.7527 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004115/5.348, allocations: 0.5154 MB / 0.7532 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/5.348, allocations: 92.88 kB / 0.7533 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/5.348, allocations: 4 kB / 0.7533 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/5.349, allocations: 8 kB / 0.7533 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/5.349, allocations: 11.98 kB / 0.7534 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/5.349, allocations: 0 / 0.7534 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.272e-05/5.349, allocations: 79.28 kB / 0.7534 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00117/5.35, allocations: 23.98 kB / 0.7535 GB, free: 9.059 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002408/5.35, allocations: 115.2 kB / 0.7536 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001432/5.35, allocations: 19.98 kB / 0.7536 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/5.35, allocations: 0 / 0.7536 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/5.35, allocations: 15.94 kB / 0.7536 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/5.351, allocations: 3.906 kB / 0.7536 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/5.351, allocations: 75.84 kB / 0.7537 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/5.351, allocations: 0.6915 MB / 0.7544 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/5.351, allocations: 4 kB / 0.7544 GB, free: 8.078 MB / 0.6355 GB