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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001291/0.001291, allocations: 185 kB / 7.803 MB, free: 1.184 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4776/0.4776, allocations: 90.85 MB / 99.06 MB, free: 8.98 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.4 MB / 342.7 MB, free: 4.656 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 99 kB / 415.5 MB, free: 14.23 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.162/0.1632, allocations: 78.46 MB / 494 MB, free: 7.492 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.5558, allocations: 72.31 MB / 0.553 GB, free: 61.63 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.6823, allocations: 101.1 MB / 0.6517 GB, free: 4.875 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.6825, allocations: 69.09 kB / 0.6518 GB, free: 4.809 MB / 466.8 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.003503/0.686, allocations: 1.11 MB / 0.6529 GB, free: 3.699 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.6861, allocations: 8.844 kB / 0.6529 GB, free: 3.691 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.6861, allocations: 4 kB / 0.6529 GB, free: 3.688 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6863, allocations: 167.7 kB / 0.6531 GB, free: 3.484 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.6863, allocations: 4 kB / 0.6531 GB, free: 3.48 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.6863, allocations: 0.9375 kB / 0.6531 GB, free: 3.48 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.794e-05/0.6864, allocations: 27.22 kB / 0.6531 GB, free: 3.457 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.6865, allocations: 42.5 kB / 0.6531 GB, free: 3.41 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.6866, allocations: 4 kB / 0.6531 GB, free: 3.406 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6866, allocations: 3.281 kB / 0.6531 GB, free: 3.406 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6866, allocations: 0 / 0.6531 GB, free: 3.406 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.687, allocations: 253.3 kB / 0.6534 GB, free: 3.121 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.6872, allocations: 46.48 kB / 0.6534 GB, free: 3.066 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.6873, allocations: 13.73 kB / 0.6534 GB, free: 3.051 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.6876, allocations: 398.5 kB / 0.6538 GB, free: 2.57 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6876, allocations: 40.41 kB / 0.6539 GB, free: 2.523 MB / 466.8 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6876, allocations: 0 / 0.6539 GB, free: 2.523 MB / 466.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002054/0.6878, allocations: 49.69 kB / 0.6539 GB, free: 2.469 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.6879, allocations: 51.41 kB / 0.654 GB, free: 2.406 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.6879, allocations: 101.6 kB / 0.6541 GB, free: 2.301 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.688, allocations: 27.61 kB / 0.6541 GB, free: 2.27 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.688, allocations: 88.08 kB / 0.6542 GB, free: 2.18 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.688, allocations: 3.906 kB / 0.6542 GB, free: 2.176 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.688, allocations: 0 / 0.6542 GB, free: 2.176 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6882, allocations: 316.8 kB / 0.6545 GB, free: 1.859 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.6882, allocations: 4 kB / 0.6545 GB, free: 1.855 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.6882, allocations: 10.48 kB / 0.6545 GB, free: 1.848 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.6883, allocations: 15.98 kB / 0.6545 GB, free: 1.832 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6883, allocations: 0 / 0.6545 GB, free: 1.832 MB / 466.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.6884, allocations: 52.03 kB / 0.6546 GB, free: 1.777 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.6884, allocations: 4 kB / 0.6546 GB, free: 1.773 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6884, allocations: 0 / 0.6546 GB, free: 1.773 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6884, allocations: 4 kB / 0.6546 GB, free: 1.77 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.6885, allocations: 13.45 kB / 0.6546 GB, free: 1.758 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6885, allocations: 2.5 kB / 0.6546 GB, free: 1.758 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.6886, allocations: 16.83 kB / 0.6546 GB, free: 1.746 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6886, allocations: 0.625 kB / 0.6546 GB, free: 1.746 MB / 466.8 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 8.332e-05/0.6887, allocations: 113.7 kB / 0.6547 GB, free: 1.629 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.6888, allocations: 3.938 kB / 0.6547 GB, free: 1.625 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.6889, allocations: 54.38 kB / 0.6548 GB, free: 1.566 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6889, allocations: 8.516 kB / 0.6548 GB, free: 1.559 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6889, allocations: 0.75 kB / 0.6548 GB, free: 1.559 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.689, allocations: 4.625 kB / 0.6548 GB, free: 1.555 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.6891, allocations: 134.2 kB / 0.6549 GB, free: 1.387 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6891, allocations: 8.891 kB / 0.6549 GB, free: 1.379 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.6892, allocations: 13.22 kB / 0.6549 GB, free: 1.367 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6892, allocations: 0 / 0.6549 GB, free: 1.367 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6892, allocations: 11.98 kB / 0.6549 GB, free: 1.355 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6893, allocations: 0 / 0.6549 GB, free: 1.355 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6893, allocations: 0.75 kB / 0.6549 GB, free: 1.355 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001622/0.6894, allocations: 144.7 kB / 0.6551 GB, free: 1.199 MB / 466.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002872/0.6897, allocations: 0.5194 MB / 0.6556 GB, free: 0.6602 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.6898, allocations: 81.11 kB / 0.6557 GB, free: 0.5625 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6898, allocations: 3.984 kB / 0.6557 GB, free: 0.5586 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.6899, allocations: 11.91 kB / 0.6557 GB, free: 0.5469 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.69, allocations: 3.984 kB / 0.6557 GB, free: 0.543 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.69, allocations: 4 kB / 0.6557 GB, free: 0.5391 MB / 466.8 MB Notification: Performance of sort global known variables: time 3.529e-05/0.69, allocations: 81.62 kB / 0.6558 GB, free: 472 kB / 466.8 MB Notification: Performance of remove unused functions: time 0.0008005/0.6908, allocations: 19.94 kB / 0.6558 GB, free: 452 kB / 466.8 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.0001826/0.691, allocations: 116.4 kB / 0.6559 GB, free: 328 kB / 466.8 MB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.6911, allocations: 27.94 kB / 0.6559 GB, free: 300 kB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6911, allocations: 0 / 0.6559 GB, free: 300 kB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.6912, allocations: 11.98 kB / 0.6559 GB, free: 288 kB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.6914, allocations: 4 kB / 0.6559 GB, free: 284 kB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.6917, allocations: 69.66 kB / 0.656 GB, free: 192 kB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.692, allocations: 0.6967 MB / 0.6567 GB, free: 15.47 MB / 482.8 MB Notification: Performance of SimCode: time 3.3e-07/0.692, allocations: 3.938 kB / 0.6567 GB, free: 15.46 MB / 482.8 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)