Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 253.1 MB / 260.4 MB, free: 7.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 185.2 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 94.05 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.16e-05/1.172e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1899, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5963/0.7863, allocations: 131 MB / 1.016 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.7866, allocations: 75.88 kB / 1.016 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002654/0.7893, allocations: 0.5185 MB / 1.017 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7893, allocations: 0 / 1.017 GB, free: 6.812 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002944/0.7896, allocations: 328.1 kB / 1.017 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7897, allocations: 12.03 kB / 1.017 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.7897, allocations: 0 / 1.017 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.7899, allocations: 170.9 kB / 1.017 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7899, allocations: 4 kB / 1.017 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.7899, allocations: 0 / 1.017 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002502/0.7902, allocations: 98.38 kB / 1.017 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7903, allocations: 62.36 kB / 1.017 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7903, allocations: 0 / 1.017 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7904, allocations: 1.375 kB / 1.017 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7904, allocations: 4 kB / 1.017 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.7906, allocations: 145.2 kB / 1.017 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.7908, allocations: 72.31 kB / 1.017 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.7909, allocations: 28.53 kB / 1.017 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/0.7912, allocations: 409.9 kB / 1.018 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.7913, allocations: 30.56 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.7913, allocations: 0 / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0005122/0.7918, allocations: 95.08 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.7919, allocations: 51.41 kB / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.152e-05/0.7919, allocations: 92.19 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.7919, allocations: 25.7 kB / 1.018 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.792, allocations: 80.33 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.792, allocations: 27.39 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.7921, allocations: 3.938 kB / 1.018 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7922, allocations: 310.8 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.7922, allocations: 23.23 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.164e-05/0.7923, allocations: 22.36 kB / 1.019 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.7926, allocations: 35.88 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7926, allocations: 0 / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003792/0.793, allocations: 92 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.793, allocations: 4 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.793, allocations: 0 / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.793, allocations: 8 kB / 1.019 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.7932, allocations: 12 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.7932, allocations: 4 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.7933, allocations: 15.81 kB / 1.019 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7933, allocations: 4 kB / 1.019 GB, free: 4.383 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.627e-05/0.7934, allocations: 111.5 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.7934, allocations: 4.719 kB / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.794, allocations: 124.2 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.794, allocations: 4 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.794, allocations: 3.984 kB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.794, allocations: 0 / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.7942, allocations: 149.9 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7942, allocations: 0 / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.7943, allocations: 24.61 kB / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7943, allocations: 0 / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.7944, allocations: 0 / 1.019 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.7944, allocations: 8 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7944, allocations: 4 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000384/0.7948, allocations: 114.8 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.7948, allocations: 88.95 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.7949, allocations: 0 / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.7949, allocations: 0 / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.7949, allocations: 7.984 kB / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.795, allocations: 4 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.047e-05/0.795, allocations: 79.28 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002847/0.7953, allocations: 19.98 kB / 1.019 GB, free: 3.598 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002456/0.7956, allocations: 116.1 kB / 1.02 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.7957, allocations: 59.53 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7958, allocations: 0 / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.7958, allocations: 34.5 kB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.796, allocations: 7.906 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.7963, allocations: 106.9 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.7966, allocations: 0.6997 MB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.7966, allocations: 0 / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of Templates: time 0.003973/0.8006, allocations: 0.8806 MB / 1.021 GB, free: 1.676 MB / 0.6355 GB