Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.154/2.154, allocations: 284.9 MB / 292.2 MB, free: 1.512 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 178.2 kB / 360.4 MB, free: 15.66 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 0.6188 GB, free: 6.656 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 99.3 kB / 0.7318 GB, free: 46.87 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.559e-05, allocations: 7.938 kB / 0.8502 GB, free: 13.72 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5856, allocations: 115.2 MB / 0.9628 GB, free: 86.44 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.8252, allocations: 137.4 MB / 1.097 GB, free: 13.05 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.8255, allocations: 72.52 kB / 1.097 GB, free: 12.98 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.004555/0.8301, allocations: 0.7548 MB / 1.098 GB, free: 12.25 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8302, allocations: 4.531 kB / 1.098 GB, free: 12.24 MB / 0.7061 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.0005706/0.8307, allocations: 348 kB / 1.098 GB, free: 11.86 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.8308, allocations: 8.531 kB / 1.098 GB, free: 11.86 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.8309, allocations: 11.84 kB / 1.098 GB, free: 11.84 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.831, allocations: 167.8 kB / 1.098 GB, free: 11.64 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8311, allocations: 4 kB / 1.098 GB, free: 11.64 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.8311, allocations: 1.062 kB / 1.098 GB, free: 11.64 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001153/0.8312, allocations: 16 kB / 1.098 GB, free: 11.62 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.8313, allocations: 58.11 kB / 1.098 GB, free: 11.56 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8314, allocations: 0 / 1.098 GB, free: 11.56 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8314, allocations: 0.5625 kB / 1.098 GB, free: 11.56 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8314, allocations: 0.75 kB / 1.098 GB, free: 11.56 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.8319, allocations: 251 kB / 1.099 GB, free: 11.28 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.8322, allocations: 47.19 kB / 1.099 GB, free: 11.22 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.8323, allocations: 13.45 kB / 1.099 GB, free: 11.21 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.8327, allocations: 403.3 kB / 1.099 GB, free: 10.72 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.8327, allocations: 38.47 kB / 1.099 GB, free: 10.68 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.8327, allocations: 0.6562 kB / 1.099 GB, free: 10.68 MB / 0.7061 GB Notification: Performance of matching and sorting (n=3): time 0.0002385/0.833, allocations: 46.31 kB / 1.099 GB, free: 10.62 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.833, allocations: 51.41 kB / 1.099 GB, free: 10.56 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.8331, allocations: 93.69 kB / 1.099 GB, free: 10.46 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.8332, allocations: 29.7 kB / 1.099 GB, free: 10.43 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.8332, allocations: 95.98 kB / 1.099 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.8332, allocations: 3.906 kB / 1.099 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.8333, allocations: 0 / 1.099 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8334, allocations: 314.8 kB / 1.1 GB, free: 10.01 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.8335, allocations: 8 kB / 1.1 GB, free: 10 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.8335, allocations: 15.94 kB / 1.1 GB, free: 9.988 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.8336, allocations: 4 kB / 1.1 GB, free: 9.984 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8336, allocations: 1.875 kB / 1.1 GB, free: 9.984 MB / 0.7061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001837/0.8338, allocations: 53.78 kB / 1.1 GB, free: 9.926 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8338, allocations: 4 kB / 1.1 GB, free: 9.922 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8338, allocations: 4 kB / 1.1 GB, free: 9.918 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8339, allocations: 0 / 1.1 GB, free: 9.918 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.8341, allocations: 19.97 kB / 1.1 GB, free: 9.898 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8342, allocations: 0 / 1.1 GB, free: 9.898 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.8344, allocations: 15.98 kB / 1.1 GB, free: 9.883 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.8344, allocations: 0 / 1.1 GB, free: 9.883 MB / 0.7061 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 9.105e-05/0.8345, allocations: 105 kB / 1.1 GB, free: 9.773 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.8345, allocations: 3.906 kB / 1.1 GB, free: 9.77 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.8348, allocations: 65.91 kB / 1.1 GB, free: 9.699 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.8348, allocations: 0 / 1.1 GB, free: 9.699 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8348, allocations: 0 / 1.1 GB, free: 9.699 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8348, allocations: 4 kB / 1.1 GB, free: 9.695 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.835, allocations: 150.1 kB / 1.1 GB, free: 9.512 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.835, allocations: 0 / 1.1 GB, free: 9.512 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.8352, allocations: 11.98 kB / 1.1 GB, free: 9.5 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.8352, allocations: 4 kB / 1.1 GB, free: 9.496 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.8352, allocations: 0 / 1.1 GB, free: 9.496 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.8352, allocations: 7.781 kB / 1.1 GB, free: 9.492 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8352, allocations: 0 / 1.1 GB, free: 9.492 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001968/0.8355, allocations: 151.5 kB / 1.1 GB, free: 9.328 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.8355, allocations: 85.03 kB / 1.1 GB, free: 9.227 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8355, allocations: 0 / 1.1 GB, free: 9.227 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.8357, allocations: 8 kB / 1.1 GB, free: 9.219 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.8358, allocations: 7.891 kB / 1.1 GB, free: 9.211 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8358, allocations: 8 kB / 1.1 GB, free: 9.203 MB / 0.7061 GB Notification: Performance of sort global known variables: time 5.317e-05/0.8359, allocations: 83.84 kB / 1.1 GB, free: 9.121 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0003226/0.8362, allocations: 15.92 kB / 1.1 GB, free: 9.105 MB / 0.7061 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.0001997/0.8364, allocations: 107.2 kB / 1.101 GB, free: 8.992 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.8365, allocations: 22.47 kB / 1.101 GB, free: 8.973 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8366, allocations: 0 / 1.101 GB, free: 8.973 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/0.8366, allocations: 15.92 kB / 1.101 GB, free: 8.957 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.8368, allocations: 4 kB / 1.101 GB, free: 8.953 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.8371, allocations: 72.59 kB / 1.101 GB, free: 8.859 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.8375, allocations: 0.6915 MB / 1.101 GB, free: 8.145 MB / 0.7061 GB Notification: Performance of SimCode: time 6.82e-07/0.8376, allocations: 3.938 kB / 1.101 GB, free: 8.141 MB / 0.7061 GB Notification: Performance of Templates: time 0.00368/0.8412, allocations: 0.6929 MB / 1.102 GB, free: 7.48 MB / 0.7061 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)