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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7329/0.7329, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001724/0.001724, allocations: 193.2 kB / 164.4 MB, free: 6.855 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.756/1.756, 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.0009415/0.0009414, allocations: 85.58 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3243/0.3253, allocations: 82.9 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.5, allocations: 76.75 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.9974, allocations: 101.1 MB / 0.7198 GB, free: 11.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.9978, allocations: 75.95 kB / 0.7198 GB, free: 11.16 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.002825/1.001, allocations: 0.9224 MB / 0.7207 GB, free: 10.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.001, allocations: 11.94 kB / 0.7207 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/1.001, allocations: 7.906 kB / 0.7207 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/1.001, allocations: 167 kB / 0.7209 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/1.001, allocations: 0 / 0.7209 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/1.001, allocations: 4 kB / 0.7209 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002198/1.001, allocations: 99.88 kB / 0.721 GB, free: 9.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/1.001, allocations: 53.67 kB / 0.7211 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.001, allocations: 0 / 0.7211 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/1.001, allocations: 0 / 0.7211 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.001, allocations: 0 / 0.7211 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/1.002, allocations: 154.1 kB / 0.7212 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/1.002, allocations: 70.5 kB / 0.7213 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/1.002, allocations: 28.84 kB / 0.7213 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/1.002, allocations: 401.5 kB / 0.7217 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.002, allocations: 34.56 kB / 0.7217 GB, free: 8.996 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/1.002, allocations: 0 / 0.7217 GB, free: 8.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004369/1.003, allocations: 100.2 kB / 0.7218 GB, free: 8.895 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.003, allocations: 55.34 kB / 0.7219 GB, free: 8.828 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/1.003, allocations: 85 kB / 0.7219 GB, free: 8.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/1.003, allocations: 25.7 kB / 0.722 GB, free: 8.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/1.003, allocations: 85.36 kB / 0.722 GB, free: 8.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/1.003, allocations: 19.7 kB / 0.7221 GB, free: 8.598 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/1.003, allocations: 0 / 0.7221 GB, free: 8.598 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/1.003, allocations: 318.8 kB / 0.7224 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/1.003, allocations: 23.92 kB / 0.7224 GB, free: 8.254 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/1.003, allocations: 20 kB / 0.7224 GB, free: 8.234 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/1.004, allocations: 31.91 kB / 0.7224 GB, free: 8.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.004, allocations: 0 / 0.7224 GB, free: 8.203 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/1.004, allocations: 89.91 kB / 0.7225 GB, free: 8.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.004, allocations: 4 kB / 0.7225 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.004, allocations: 3.984 kB / 0.7225 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.004, allocations: 7.875 kB / 0.7225 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/1.004, allocations: 16 kB / 0.7226 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.004, allocations: 0 / 0.7226 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/1.004, allocations: 7.844 kB / 0.7226 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.004, allocations: 11.98 kB / 0.7226 GB, free: 8.062 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 0.0001081/1.004, allocations: 112.9 kB / 0.7227 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/1.004, allocations: 7.906 kB / 0.7227 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/1.005, allocations: 125.7 kB / 0.7228 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.005, allocations: 0 / 0.7228 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.005, allocations: 4 kB / 0.7228 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.005, allocations: 7.891 kB / 0.7228 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/1.005, allocations: 142.2 kB / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.005, allocations: 0 / 0.723 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.958e-05/1.005, allocations: 27.92 kB / 0.723 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.005, allocations: 0 / 0.723 GB, free: 7.598 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.005, allocations: 4 kB / 0.723 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.005, allocations: 3.906 kB / 0.723 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.005, allocations: 0 / 0.723 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003121/1.005, allocations: 121.4 kB / 0.7231 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004431/1.006, allocations: 497.8 kB / 0.7236 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/1.006, allocations: 81.02 kB / 0.7237 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/1.006, allocations: 7.984 kB / 0.7237 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/1.006, allocations: 0 / 0.7237 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/1.006, allocations: 8 kB / 0.7237 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.006, allocations: 7.984 kB / 0.7237 GB, free: 6.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.105e-05/1.006, allocations: 77.84 kB / 0.7238 GB, free: 6.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001071/1.007, allocations: 19.91 kB / 0.7238 GB, free: 6.73 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.0002819/1.007, allocations: 115.2 kB / 0.7239 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/1.008, allocations: 59.91 kB / 0.7239 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.008, allocations: 0 / 0.7239 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/1.008, allocations: 31.98 kB / 0.724 GB, free: 6.516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/1.008, allocations: 11.19 kB / 0.724 GB, free: 6.508 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/1.008, allocations: 93.22 kB / 0.7241 GB, free: 6.395 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/1.008, allocations: 0.7036 MB / 0.7248 GB, free: 5.664 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/1.008, allocations: 0 / 0.7248 GB, free: 5.664 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)