Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.517/1.517, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001083/0.001083, allocations: 189.2 kB / 366.3 MB, free: 1.941 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.16/1.16, allocations: 205.1 MB / 0.6256 GB, free: 5.871 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.0008728/0.0008729, allocations: 88.77 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.268e-06/9.378e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4847, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.637, allocations: 137.5 MB / 1.107 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.6372, allocations: 74.53 kB / 1.107 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001728/0.639, allocations: 0.5211 MB / 1.107 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.639, allocations: 0 / 1.107 GB, free: 10.42 MB / 0.7136 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.0002488/0.6393, allocations: 326.2 kB / 1.108 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.6393, allocations: 8.031 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.6393, allocations: 8.438 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.072e-05/0.6394, allocations: 167 kB / 1.108 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.6395, allocations: 0.5625 kB / 1.108 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.6395, allocations: 5.594 kB / 1.108 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001829/0.6397, allocations: 100.6 kB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.6398, allocations: 63.81 kB / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.6398, allocations: 0 / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6398, allocations: 0.5938 kB / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.6398, allocations: 0.5 kB / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.64, allocations: 142.8 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.6401, allocations: 75.62 kB / 1.108 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.6402, allocations: 33.44 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003369/0.6405, allocations: 405.5 kB / 1.109 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.6405, allocations: 30.56 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.6405, allocations: 0 / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003428/0.6409, allocations: 93.92 kB / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.6409, allocations: 51.41 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.664e-05/0.641, allocations: 89.94 kB / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.641, allocations: 29.7 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.641, allocations: 80.33 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.6411, allocations: 27.73 kB / 1.109 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.6411, allocations: 0 / 1.109 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6412, allocations: 318.8 kB / 1.109 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.6412, allocations: 23.92 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.6413, allocations: 16 kB / 1.109 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.6414, allocations: 31.97 kB / 1.109 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6414, allocations: 0 / 1.109 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002405/0.6417, allocations: 86.64 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6417, allocations: 4.562 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6417, allocations: 7.938 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6417, allocations: 3.906 kB / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.6418, allocations: 20 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.6418, allocations: 0 / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.6419, allocations: 7.984 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.6419, allocations: 0.9375 kB / 1.11 GB, free: 7.926 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: 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 7.234e-05/0.642, allocations: 114.7 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.642, allocations: 7.906 kB / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.6423, allocations: 122.9 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6423, allocations: 7.938 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6423, allocations: 3.984 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6423, allocations: 0 / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.6424, allocations: 146.1 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6425, allocations: 0 / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.6425, allocations: 27.92 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6425, allocations: 0.9375 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.6426, allocations: 4 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6426, allocations: 0 / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6426, allocations: 0 / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002519/0.6428, allocations: 121.3 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.6429, allocations: 85.09 kB / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.6429, allocations: 3.906 kB / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.6429, allocations: 0 / 1.11 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.6429, allocations: 7.984 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.6429, allocations: 8 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.347e-05/0.643, allocations: 76.12 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000193/0.6432, allocations: 19.98 kB / 1.11 GB, free: 7.102 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: 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.0001659/0.6433, allocations: 115.2 kB / 1.11 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.6435, allocations: 59.91 kB / 1.11 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6435, allocations: 0 / 1.11 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.6435, allocations: 27.94 kB / 1.11 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.678e-05/0.6436, allocations: 10.08 kB / 1.11 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.6439, allocations: 99.75 kB / 1.111 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.6441, allocations: 0.7036 MB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6441, allocations: 0 / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of Templates: time 0.002549/0.6467, allocations: 0.8909 MB / 1.112 GB, free: 5.172 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)