Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.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.118/2.118, allocations: 253.1 MB / 260.4 MB, free: 0.5781 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: 177.9 kB / 319.6 MB, free: 7.68 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.017/2.017, allocations: 205.4 MB / 0.5704 GB, free: 25.62 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.001796/0.001796, allocations: 83.45 kB / 0.6746 GB, free: 3.09 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.62e-05, allocations: 4 kB / 0.7843 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5542, allocations: 106.2 MB / 0.888 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/0.797, allocations: 131.1 MB / 1.016 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.7973, allocations: 67.95 kB / 1.016 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.004413/0.8018, allocations: 0.7355 MB / 1.017 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.8018, allocations: 0 / 1.017 GB, free: 9.059 MB / 0.6667 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.0005097/0.8023, allocations: 358.2 kB / 1.017 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8024, allocations: 12.03 kB / 1.017 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.8024, allocations: 0 / 1.017 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.8026, allocations: 170.9 kB / 1.017 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.8026, allocations: 4 kB / 1.017 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.8027, allocations: 4 kB / 1.017 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000105/0.8028, allocations: 12 kB / 1.017 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.8029, allocations: 49.67 kB / 1.017 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8029, allocations: 0 / 1.017 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.803, allocations: 4 kB / 1.017 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.803, allocations: 3.906 kB / 1.017 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.8035, allocations: 261.3 kB / 1.018 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.8038, allocations: 42.56 kB / 1.018 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.8039, allocations: 16.86 kB / 1.018 GB, free: 8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.8043, allocations: 409.6 kB / 1.018 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.8043, allocations: 34.55 kB / 1.018 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.8043, allocations: 0 / 1.018 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002453/0.8046, allocations: 41.7 kB / 1.018 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8046, allocations: 59.33 kB / 1.018 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.496e-05/0.8047, allocations: 100.9 kB / 1.018 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.8048, allocations: 25.7 kB / 1.018 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.8048, allocations: 84.14 kB / 1.018 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.8049, allocations: 7.906 kB / 1.018 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.8049, allocations: 0 / 1.018 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.805, allocations: 318.8 kB / 1.019 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.8051, allocations: 8 kB / 1.019 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.8051, allocations: 4 kB / 1.019 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.928e-05/0.8052, allocations: 8 kB / 1.019 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8052, allocations: 0 / 1.019 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001554/0.8053, allocations: 49.59 kB / 1.019 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8054, allocations: 15.94 kB / 1.019 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8054, allocations: 0 / 1.019 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8054, allocations: 0 / 1.019 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.8056, allocations: 15.98 kB / 1.019 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.8056, allocations: 0 / 1.019 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.8057, allocations: 15.92 kB / 1.019 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.8058, allocations: 7.938 kB / 1.019 GB, free: 6.668 MB / 0.6667 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.271e-05/0.8059, allocations: 108.9 kB / 1.019 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.8059, allocations: 0 / 1.019 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.8061, allocations: 61.34 kB / 1.019 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.8061, allocations: 0 / 1.019 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8061, allocations: 3.906 kB / 1.019 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8062, allocations: 0 / 1.019 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.8064, allocations: 146.2 kB / 1.019 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8064, allocations: 4 kB / 1.019 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.8065, allocations: 15.98 kB / 1.019 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.8065, allocations: 0 / 1.019 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.8066, allocations: 0 / 1.019 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8066, allocations: 0 / 1.019 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8066, allocations: 0 / 1.019 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002004/0.8068, allocations: 155.4 kB / 1.019 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.8069, allocations: 81.02 kB / 1.019 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.8069, allocations: 3.984 kB / 1.019 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.8071, allocations: 8 kB / 1.019 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.8072, allocations: 7.984 kB / 1.019 GB, free: 6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.8072, allocations: 256 / 1.019 GB, free: 6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.681e-05/0.8072, allocations: 91.28 kB / 1.02 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003269/0.8076, allocations: 15.94 kB / 1.02 GB, free: 5.895 MB / 0.6667 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.0002003/0.8078, allocations: 111.5 kB / 1.02 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.8079, allocations: 30.39 kB / 1.02 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8079, allocations: 0 / 1.02 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.808, allocations: 11.98 kB / 1.02 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.8082, allocations: 10.88 kB / 1.02 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.8085, allocations: 74.78 kB / 1.02 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.809, allocations: 0.6915 MB / 1.02 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of SimCode: time 7.61e-07/0.809, allocations: 0 / 1.02 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of Templates: time 0.003655/0.8126, allocations: 0.6988 MB / 1.021 GB, free: 4.23 MB / 0.6667 GB