Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.464/0.464, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 342.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.000902, allocations: 94.05 kB / 415.5 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.796e-06, allocations: 4 kB / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4588, allocations: 101.1 MB / 0.6516 GB, free: 8.926 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.4591, allocations: 73.2 kB / 0.6517 GB, free: 8.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003109/0.4622, allocations: 0.7545 MB / 0.6524 GB, free: 8.121 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.4622, allocations: 4.812 kB / 0.6525 GB, free: 8.117 MB / 474.7 MB 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.0003994/0.4627, allocations: 357.4 kB / 0.6528 GB, free: 7.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4627, allocations: 8.031 kB / 0.6528 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.4627, allocations: 4 kB / 0.6528 GB, free: 7.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4629, allocations: 167.4 kB / 0.653 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.4629, allocations: 4 kB / 0.653 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.4629, allocations: 0 / 0.653 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.265e-05/0.463, allocations: 16.5 kB / 0.653 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4631, allocations: 56.44 kB / 0.653 GB, free: 7.438 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4632, allocations: 0 / 0.653 GB, free: 7.438 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4632, allocations: 4.562 kB / 0.653 GB, free: 7.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4632, allocations: 0 / 0.653 GB, free: 7.434 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.4636, allocations: 255.2 kB / 0.6533 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.4639, allocations: 47.41 kB / 0.6533 GB, free: 7.094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.4639, allocations: 13.67 kB / 0.6533 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.4642, allocations: 406.3 kB / 0.6537 GB, free: 6.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4642, allocations: 31.09 kB / 0.6538 GB, free: 6.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4643, allocations: 4.625 kB / 0.6538 GB, free: 6.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002252/0.4645, allocations: 47.53 kB / 0.6538 GB, free: 6.496 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4645, allocations: 51.41 kB / 0.6539 GB, free: 6.434 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.4646, allocations: 97.91 kB / 0.654 GB, free: 6.332 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4646, allocations: 25.7 kB / 0.654 GB, free: 6.301 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.4647, allocations: 88.8 kB / 0.6541 GB, free: 6.211 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.4647, allocations: 4.906 kB / 0.6541 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4647, allocations: 0 / 0.6541 GB, free: 6.207 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4648, allocations: 315.5 kB / 0.6544 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.4649, allocations: 8 kB / 0.6544 GB, free: 5.883 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.4649, allocations: 12.56 kB / 0.6544 GB, free: 5.871 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.4649, allocations: 5 kB / 0.6544 GB, free: 5.867 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4649, allocations: 4 kB / 0.6544 GB, free: 5.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.465, allocations: 53.59 kB / 0.6544 GB, free: 5.805 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4651, allocations: 4.531 kB / 0.6545 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4651, allocations: 1.344 kB / 0.6545 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4651, allocations: 0 / 0.6545 GB, free: 5.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4652, allocations: 17.77 kB / 0.6545 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.4652, allocations: 0 / 0.6545 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.4653, allocations: 12.67 kB / 0.6545 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4653, allocations: 0.5312 kB / 0.6545 GB, free: 5.773 MB / 474.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: 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 7.433e-05/0.4654, allocations: 114.1 kB / 0.6546 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.4654, allocations: 7.078 kB / 0.6546 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.4656, allocations: 63.39 kB / 0.6547 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.4656, allocations: 6.125 kB / 0.6547 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4656, allocations: 0 / 0.6547 GB, free: 5.578 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4656, allocations: 3.906 kB / 0.6547 GB, free: 5.574 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.4658, allocations: 139.9 kB / 0.6548 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4658, allocations: 4 kB / 0.6548 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.4659, allocations: 12.48 kB / 0.6548 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4659, allocations: 0.5312 kB / 0.6548 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4659, allocations: 0.5938 kB / 0.6548 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4659, allocations: 4 kB / 0.6548 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4659, allocations: 1.5 kB / 0.6548 GB, free: 5.383 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001442/0.4661, allocations: 144 kB / 0.655 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.4661, allocations: 89 kB / 0.655 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4661, allocations: 4.594 kB / 0.6551 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4662, allocations: 9.375 kB / 0.6551 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.4663, allocations: 4.516 kB / 0.6551 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4663, allocations: 6.062 kB / 0.6551 GB, free: 5.102 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.874e-05/0.4663, allocations: 79.28 kB / 0.6551 GB, free: 5.023 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.4666, allocations: 24.45 kB / 0.6552 GB, free: 5 MB / 474.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: 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.0001526/0.4668, allocations: 105.5 kB / 0.6553 GB, free: 4.891 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.4669, allocations: 27.98 kB / 0.6553 GB, free: 4.863 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.4669, allocations: 0 / 0.6553 GB, free: 4.863 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.4669, allocations: 16 kB / 0.6553 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4671, allocations: 3.938 kB / 0.6553 GB, free: 4.844 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.4674, allocations: 67.69 kB / 0.6554 GB, free: 4.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.4677, allocations: 0.6963 MB / 0.6561 GB, free: 4.035 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4677, allocations: 0 / 0.6561 GB, free: 4.035 MB / 474.7 MB Notification: Performance of Templates: time 0.002754/0.4705, allocations: 0.6926 MB / 0.6567 GB, free: 3.375 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)