Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.355/1.355, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 193.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.069/1.069, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008134/0.0008136, allocations: 94.44 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.705e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5158, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.674, allocations: 137.6 MB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.6743, allocations: 72.66 kB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00291/0.6772, allocations: 0.7437 MB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6772, allocations: 0 / 1.099 GB, free: 1.68 MB / 0.698 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.0004086/0.6776, allocations: 354.5 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6777, allocations: 8.031 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.6777, allocations: 3.906 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6778, allocations: 171 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.6779, allocations: 3.938 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.6779, allocations: 4.656 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.517e-05/0.678, allocations: 21.25 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.842e-05/0.6781, allocations: 41.69 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6781, allocations: 3.938 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.6781, allocations: 0.5 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6781, allocations: 1.328 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.6785, allocations: 259.2 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.6787, allocations: 43.05 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.6788, allocations: 13.55 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.6791, allocations: 399.5 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.6791, allocations: 39.19 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.6791, allocations: 0 / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002391/0.6794, allocations: 51.08 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6794, allocations: 52.34 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.6795, allocations: 102.4 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.6795, allocations: 26.23 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.6796, allocations: 85.86 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.6796, allocations: 7.906 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6796, allocations: 0.8438 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6797, allocations: 319.6 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.6798, allocations: 8 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.6798, allocations: 11.14 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.6798, allocations: 8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6798, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001001/0.6799, allocations: 59.36 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.68, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.68, allocations: 1.719 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.68, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.6801, allocations: 20.55 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6801, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.6802, allocations: 14.14 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.6802, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 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 7.415e-05/0.6803, allocations: 101 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.6803, allocations: 7.906 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.6805, allocations: 65.3 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6805, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6805, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6805, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.6806, allocations: 147.7 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6806, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.6807, allocations: 16 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6807, allocations: 7.984 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6807, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6808, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6808, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001357/0.6809, allocations: 144 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.6809, allocations: 77.11 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.681, allocations: 4 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6811, allocations: 18.23 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.6811, allocations: 15.83 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.6811, allocations: 0 / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.727e-05/0.6812, allocations: 83.28 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002134/0.6814, allocations: 15.94 kB / 1.102 GB, free: 14.55 MB / 0.7136 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.0001594/0.6816, allocations: 117.4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.055e-05/0.6817, allocations: 18.47 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6817, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.6817, allocations: 16 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.6819, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.6821, allocations: 76.52 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.6824, allocations: 0.6954 MB / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.6824, allocations: 0 / 1.102 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.002556/0.685, allocations: 0.6931 MB / 1.103 GB, free: 12.93 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)