Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6751/0.6751, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 74.95 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.225e-05/1.228e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.7341, allocations: 101.1 MB / 0.7197 GB, free: 11.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.7345, allocations: 83.88 kB / 0.7197 GB, free: 11.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.002223/0.7367, allocations: 0.6002 MB / 0.7203 GB, free: 10.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.7367, allocations: 0 / 0.7203 GB, free: 10.65 MB / 490.7 MB 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.0003829/0.7371, allocations: 340.5 kB / 0.7206 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.7372, allocations: 8.031 kB / 0.7207 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.7373, allocations: 3.906 kB / 0.7207 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.7374, allocations: 163.1 kB / 0.7208 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.7374, allocations: 0 / 0.7208 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.7375, allocations: 4 kB / 0.7208 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00023/0.7377, allocations: 99.88 kB / 0.7209 GB, free: 9.965 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.7379, allocations: 57.67 kB / 0.721 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.7379, allocations: 3.938 kB / 0.721 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.7379, allocations: 0 / 0.721 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.7379, allocations: 0 / 0.721 GB, free: 9.898 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.7381, allocations: 150.1 kB / 0.7211 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7383, allocations: 70.55 kB / 0.7212 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.7383, allocations: 20.86 kB / 0.7212 GB, free: 9.613 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/0.7387, allocations: 409.5 kB / 0.7216 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.7388, allocations: 34.56 kB / 0.7216 GB, free: 9.074 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.824e-06/0.7388, allocations: 0 / 0.7216 GB, free: 9.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004012/0.7392, allocations: 91.92 kB / 0.7217 GB, free: 8.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.7392, allocations: 59.34 kB / 0.7218 GB, free: 8.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.383e-05/0.7393, allocations: 88.98 kB / 0.7219 GB, free: 8.816 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.7393, allocations: 26.64 kB / 0.7219 GB, free: 8.785 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.7394, allocations: 80.33 kB / 0.722 GB, free: 8.699 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.7394, allocations: 23.72 kB / 0.722 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.7394, allocations: 0 / 0.722 GB, free: 8.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7395, allocations: 314.8 kB / 0.7223 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.7396, allocations: 19.98 kB / 0.7223 GB, free: 8.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.7396, allocations: 19.94 kB / 0.7223 GB, free: 8.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.7398, allocations: 27.97 kB / 0.7223 GB, free: 8.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7398, allocations: 0 / 0.7223 GB, free: 8.293 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.74, allocations: 97.56 kB / 0.7224 GB, free: 8.191 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7401, allocations: 7.938 kB / 0.7224 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7401, allocations: 0.875 kB / 0.7224 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7401, allocations: 4 kB / 0.7224 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.7402, allocations: 23.92 kB / 0.7225 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.7402, allocations: 0 / 0.7225 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.7403, allocations: 7.844 kB / 0.7225 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.7403, allocations: 4 kB / 0.7225 GB, free: 8.145 MB / 490.7 MB 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 9.751e-05/0.7404, allocations: 105 kB / 0.7226 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.7404, allocations: 11.89 kB / 0.7226 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.7408, allocations: 126.8 kB / 0.7227 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7408, allocations: 4 kB / 0.7227 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.7408, allocations: 0 / 0.7227 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.7408, allocations: 7.844 kB / 0.7227 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.741, allocations: 150.2 kB / 0.7229 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.741, allocations: 0 / 0.7229 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.7411, allocations: 19.98 kB / 0.7229 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.7411, allocations: 0 / 0.7229 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.7411, allocations: 8 kB / 0.7229 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.7411, allocations: 7.906 kB / 0.7229 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7411, allocations: 0 / 0.7229 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002926/0.7414, allocations: 121.4 kB / 0.723 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.7415, allocations: 85.03 kB / 0.7231 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.7416, allocations: 4 kB / 0.7231 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.7416, allocations: 0 / 0.7231 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.7416, allocations: 7.984 kB / 0.7231 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.7417, allocations: 7.938 kB / 0.7231 GB, free: 7.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.629e-05/0.7417, allocations: 75.28 kB / 0.7232 GB, free: 7.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000211/0.7419, allocations: 15.91 kB / 0.7232 GB, free: 7.32 MB / 490.7 MB 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.0003372/0.7423, allocations: 119.2 kB / 0.7233 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.7424, allocations: 51.92 kB / 0.7234 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7425, allocations: 0 / 0.7234 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.7425, allocations: 35.92 kB / 0.7234 GB, free: 7.105 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.7427, allocations: 7.266 kB / 0.7234 GB, free: 7.102 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.743, allocations: 91.91 kB / 0.7235 GB, free: 6.988 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.7435, allocations: 0.7035 MB / 0.7242 GB, free: 6.258 MB / 490.7 MB Notification: Performance of SimCode: time 5.82e-07/0.7435, allocations: 0 / 0.7242 GB, free: 6.258 MB / 490.7 MB Notification: Performance of Templates: time 0.004103/0.7476, allocations: 0.9261 MB / 0.7251 GB, free: 5.332 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)