Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [: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.00157/0.00157, allocations: 190.5 kB / 7.805 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.5107/0.5107, allocations: 90.85 MB / 99.07 MB, free: 14.97 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.434/1.434, allocations: 221.4 MB / 342.8 MB, free: 5.434 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.0009556/0.0009556, allocations: 103.4 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1847/0.1857, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.6622, allocations: 72.31 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.8005, allocations: 100 MB / 0.6507 GB, free: 9.941 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.8008, allocations: 75.95 kB / 0.6508 GB, free: 9.867 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.002392/0.8032, allocations: 0.854 MB / 0.6516 GB, free: 8.984 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8033, allocations: 8 kB / 0.6516 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8033, allocations: 4 kB / 0.6516 GB, free: 8.973 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.8035, allocations: 175.8 kB / 0.6518 GB, free: 8.762 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.8035, allocations: 2.344 kB / 0.6518 GB, free: 8.762 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.8035, allocations: 4.719 kB / 0.6518 GB, free: 8.758 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000184/0.8037, allocations: 95.88 kB / 0.6519 GB, free: 8.664 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.8038, allocations: 62.52 kB / 0.6519 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8038, allocations: 0 / 0.6519 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.8039, allocations: 2.375 kB / 0.6519 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8039, allocations: 0 / 0.6519 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.8041, allocations: 151.2 kB / 0.6521 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.8042, allocations: 68.31 kB / 0.6521 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.8042, allocations: 30.48 kB / 0.6522 GB, free: 8.309 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.8046, allocations: 401.5 kB / 0.6525 GB, free: 7.824 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.8047, allocations: 35.97 kB / 0.6526 GB, free: 7.781 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.8047, allocations: 0 / 0.6526 GB, free: 7.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.000379/0.8051, allocations: 93.5 kB / 0.6527 GB, free: 7.684 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.8051, allocations: 52.95 kB / 0.6527 GB, free: 7.621 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.8052, allocations: 89 kB / 0.6528 GB, free: 7.527 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.8052, allocations: 33.64 kB / 0.6528 GB, free: 7.488 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.8052, allocations: 81.3 kB / 0.6529 GB, free: 7.402 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.8053, allocations: 23.7 kB / 0.6529 GB, free: 7.379 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.8053, allocations: 0.9688 kB / 0.6529 GB, free: 7.379 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8054, allocations: 310.8 kB / 0.6532 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.8055, allocations: 20.98 kB / 0.6533 GB, free: 7.047 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.8055, allocations: 16 kB / 0.6533 GB, free: 7.031 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.8057, allocations: 37 kB / 0.6533 GB, free: 7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8057, allocations: 4 kB / 0.6533 GB, free: 6.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002738/0.806, allocations: 85.58 kB / 0.6534 GB, free: 6.906 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.806, allocations: 8.922 kB / 0.6534 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.806, allocations: 3.938 kB / 0.6534 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8061, allocations: 1.781 kB / 0.6534 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.8062, allocations: 20 kB / 0.6534 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.8062, allocations: 0 / 0.6534 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.8062, allocations: 11.84 kB / 0.6534 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.8062, allocations: 3.984 kB / 0.6534 GB, free: 6.859 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: 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.948e-05/0.8063, allocations: 106.1 kB / 0.6535 GB, free: 6.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.8064, allocations: 4.625 kB / 0.6535 GB, free: 6.746 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.8068, allocations: 126.2 kB / 0.6537 GB, free: 6.621 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8068, allocations: 4 kB / 0.6537 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8068, allocations: 6.453 kB / 0.6537 GB, free: 6.613 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.8068, allocations: 0 / 0.6537 GB, free: 6.613 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.8069, allocations: 154.1 kB / 0.6538 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.807, allocations: 1 kB / 0.6538 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.807, allocations: 19.98 kB / 0.6538 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.807, allocations: 0 / 0.6538 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8071, allocations: 3.125 kB / 0.6538 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8071, allocations: 0 / 0.6538 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8071, allocations: 0.875 kB / 0.6538 GB, free: 6.406 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002926/0.8074, allocations: 124 kB / 0.654 GB, free: 6.27 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004641/0.8078, allocations: 0.4933 MB / 0.6544 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.8079, allocations: 85.02 kB / 0.6545 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.808, allocations: 5.422 kB / 0.6545 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.645e-05/0.808, allocations: 0 / 0.6545 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.808, allocations: 4 kB / 0.6545 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.808, allocations: 8.578 kB / 0.6545 GB, free: 5.641 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.704e-05/0.8081, allocations: 76.03 kB / 0.6546 GB, free: 5.566 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008378/0.8089, allocations: 16 kB / 0.6546 GB, free: 5.551 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: 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.0002546/0.8092, allocations: 118.2 kB / 0.6547 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.8093, allocations: 52.59 kB / 0.6548 GB, free: 5.379 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8094, allocations: 4 kB / 0.6548 GB, free: 5.375 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.158e-05/0.8094, allocations: 32.64 kB / 0.6548 GB, free: 5.344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.8095, allocations: 9.109 kB / 0.6548 GB, free: 5.336 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.8098, allocations: 95.2 kB / 0.6549 GB, free: 5.223 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.8102, allocations: 0.7075 MB / 0.6556 GB, free: 4.488 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8102, allocations: 0.6562 kB / 0.6556 GB, free: 4.488 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)