Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.21/2.21, allocations: 284.9 MB / 292.2 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 187 kB / 360.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 0.6188 GB, free: 4.613 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001282/0.001281, allocations: 87.95 kB / 0.7318 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.944e-05, allocations: 4 kB / 0.8503 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2599, allocations: 115.3 MB / 0.9628 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7479/1.008, allocations: 136.3 MB / 1.096 GB, free: 113.7 MB / 0.795 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.008, allocations: 69.98 kB / 1.096 GB, free: 113.7 MB / 0.795 GB Notification: Performance of FrontEnd: time 0.002514/1.011, allocations: 0.5279 MB / 1.097 GB, free: 113.4 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.413e-06/1.011, allocations: 0 / 1.097 GB, free: 113.4 MB / 0.795 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/1.011, allocations: 327.2 kB / 1.097 GB, free: 113.1 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.011, allocations: 12.03 kB / 1.097 GB, free: 113.1 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/1.011, allocations: 3.906 kB / 1.097 GB, free: 113.1 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.407e-05/1.011, allocations: 167.2 kB / 1.097 GB, free: 112.9 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/1.011, allocations: 4 kB / 1.097 GB, free: 112.9 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/1.011, allocations: 4 kB / 1.097 GB, free: 112.9 MB / 0.795 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002257/1.012, allocations: 94.62 kB / 1.097 GB, free: 112.8 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/1.012, allocations: 59.27 kB / 1.097 GB, free: 112.8 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.012, allocations: 8.406 kB / 1.097 GB, free: 112.8 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.012, allocations: 4 kB / 1.097 GB, free: 112.7 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.012, allocations: 0 / 1.097 GB, free: 112.7 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/1.012, allocations: 144.5 kB / 1.097 GB, free: 112.6 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/1.012, allocations: 68.23 kB / 1.097 GB, free: 112.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/1.012, allocations: 27.98 kB / 1.097 GB, free: 112.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/1.012, allocations: 407.3 kB / 1.098 GB, free: 112 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.012, allocations: 30.56 kB / 1.098 GB, free: 112 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/1.012, allocations: 2.188 kB / 1.098 GB, free: 112 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0004657/1.013, allocations: 89.52 kB / 1.098 GB, free: 111.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/1.013, allocations: 55.41 kB / 1.098 GB, free: 111.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.043e-05/1.013, allocations: 95.59 kB / 1.098 GB, free: 111.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/1.013, allocations: 25.7 kB / 1.098 GB, free: 111.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/1.013, allocations: 82.55 kB / 1.098 GB, free: 111.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.013, allocations: 15 kB / 1.098 GB, free: 111.6 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/1.013, allocations: 3.938 kB / 1.098 GB, free: 111.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.4e-05/1.013, allocations: 325.6 kB / 1.098 GB, free: 111.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/1.013, allocations: 13.44 kB / 1.098 GB, free: 111.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/1.013, allocations: 19.17 kB / 1.099 GB, free: 111.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/1.014, allocations: 30.08 kB / 1.099 GB, free: 111.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.014, allocations: 3.938 kB / 1.099 GB, free: 111.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003663/1.014, allocations: 89.62 kB / 1.099 GB, free: 111.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.014, allocations: 8.688 kB / 1.099 GB, free: 111.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.014, allocations: 4 kB / 1.099 GB, free: 111.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.014, allocations: 0 / 1.099 GB, free: 111.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/1.014, allocations: 24.34 kB / 1.099 GB, free: 111.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.014, allocations: 3.906 kB / 1.099 GB, free: 111.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/1.014, allocations: 0.8438 kB / 1.099 GB, free: 111.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/1.014, allocations: 4 kB / 1.099 GB, free: 111.1 MB / 0.795 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 8.187e-05/1.014, allocations: 114.9 kB / 1.099 GB, free: 111 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/1.014, allocations: 7.328 kB / 1.099 GB, free: 111 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/1.015, allocations: 125.6 kB / 1.099 GB, free: 110.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.015, allocations: 3.906 kB / 1.099 GB, free: 110.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.015, allocations: 0.5 kB / 1.099 GB, free: 110.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.015, allocations: 5.781 kB / 1.099 GB, free: 110.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/1.015, allocations: 147.8 kB / 1.099 GB, free: 110.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.015, allocations: 0 / 1.099 GB, free: 110.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/1.015, allocations: 27.75 kB / 1.099 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/1.015, allocations: 0 / 1.099 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/1.015, allocations: 6.656 kB / 1.099 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.015, allocations: 3.938 kB / 1.099 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.015, allocations: 0 / 1.099 GB, free: 110.7 MB / 0.795 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003675/1.016, allocations: 123.8 kB / 1.099 GB, free: 110.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/1.016, allocations: 77.11 kB / 1.099 GB, free: 110.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.016, allocations: 3.312 kB / 1.099 GB, free: 110.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/1.016, allocations: 0 / 1.099 GB, free: 110.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/1.016, allocations: 11.19 kB / 1.099 GB, free: 110.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/1.016, allocations: 6.938 kB / 1.099 GB, free: 110.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.775e-05/1.016, allocations: 75.28 kB / 1.099 GB, free: 110.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003258/1.016, allocations: 19.42 kB / 1.099 GB, free: 110.4 MB / 0.795 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.0001962/1.016, allocations: 110.7 kB / 1.1 GB, free: 110.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001736/1.017, allocations: 63.98 kB / 1.1 GB, free: 110.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.017, allocations: 0 / 1.1 GB, free: 110.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/1.017, allocations: 37.17 kB / 1.1 GB, free: 110.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/1.017, allocations: 0 / 1.1 GB, free: 110.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/1.017, allocations: 92.44 kB / 1.1 GB, free: 110.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.017, allocations: 0.7042 MB / 1.1 GB, free: 109.4 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.017, allocations: 1 kB / 1.1 GB, free: 109.4 MB / 0.795 GB Notification: Performance of Templates: time 0.00389/1.021, allocations: 0.89 MB / 1.101 GB, free: 109 MB / 0.795 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)