Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.431/1.431, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.0009915/0.0009916, allocations: 177.3 kB / 366.3 MB, free: 1.926 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.273/1.273, allocations: 205.2 MB / 0.6256 GB, free: 5.777 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.0008763/0.0008763, allocations: 84.14 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.516e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6599, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.8379, allocations: 138.5 MB / 1.108 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.8382, allocations: 67.97 kB / 1.108 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003004/0.8413, allocations: 0.7545 MB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8413, allocations: 0 / 1.109 GB, free: 9.113 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004122/0.8417, allocations: 346.4 kB / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8418, allocations: 12.03 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.8418, allocations: 3.906 kB / 1.109 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8419, allocations: 178.9 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.842, allocations: 0 / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.842, allocations: 3.984 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.382e-05/0.8421, allocations: 16 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.8422, allocations: 49.62 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.8422, allocations: 0 / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.8422, allocations: 4 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.8422, allocations: 0 / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.8426, allocations: 253.3 kB / 1.109 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.8428, allocations: 38.66 kB / 1.11 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.8429, allocations: 23.16 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.8432, allocations: 405.5 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.8432, allocations: 34.47 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8432, allocations: 0 / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002197/0.8435, allocations: 45.69 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.8435, allocations: 55.34 kB / 1.11 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.8436, allocations: 93 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.8436, allocations: 29.7 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.8436, allocations: 92.03 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.8437, allocations: 7.906 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.8437, allocations: 0 / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8438, allocations: 314.8 kB / 1.111 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.8438, allocations: 8 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.8438, allocations: 4 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.8439, allocations: 15.92 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8439, allocations: 0 / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.466e-05/0.844, allocations: 49.59 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.844, allocations: 12 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.844, allocations: 0 / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.844, allocations: 192 / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.8441, allocations: 15.98 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8442, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.8442, allocations: 11.94 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.8442, allocations: 15.97 kB / 1.111 GB, free: 6.73 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 6.508e-05/0.8443, allocations: 102.5 kB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.8443, allocations: 4.156 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.8445, allocations: 55.88 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8445, allocations: 0 / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8445, allocations: 4 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.8445, allocations: 3.984 kB / 1.111 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.8447, allocations: 150.1 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8447, allocations: 0 / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.8448, allocations: 15.98 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8448, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.8448, allocations: 0 / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8448, allocations: 3.984 kB / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8448, allocations: 0 / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001387/0.8449, allocations: 155.4 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.845, allocations: 77.11 kB / 1.111 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.845, allocations: 0 / 1.111 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.8451, allocations: 13.77 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.8452, allocations: 7.906 kB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.8452, allocations: 3.984 kB / 1.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-05/0.8452, allocations: 87.28 kB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002173/0.8454, allocations: 19.88 kB / 1.111 GB, free: 5.953 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.0001579/0.8456, allocations: 103.3 kB / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.8457, allocations: 30.39 kB / 1.111 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8457, allocations: 0 / 1.111 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.8458, allocations: 8 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.8459, allocations: 8 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.8462, allocations: 75.75 kB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.8465, allocations: 0.6954 MB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8465, allocations: 0 / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of Templates: time 0.002625/0.8491, allocations: 0.6776 MB / 1.113 GB, free: 4.332 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)