Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.598/2.598, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002599/0.002599, allocations: 179.8 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 90.03 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3158/0.317, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.9223, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/1.207, allocations: 136.3 MB / 1.096 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.208, allocations: 76.47 kB / 1.096 GB, free: 4.422 MB / 0.698 GB 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.003215/1.211, allocations: 0.8501 MB / 1.097 GB, free: 3.551 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.211, allocations: 8.5 kB / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/1.211, allocations: 3.906 kB / 1.097 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.211, allocations: 163.1 kB / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/1.211, allocations: 0 / 1.097 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/1.211, allocations: 4 kB / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002779/1.212, allocations: 103.8 kB / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/1.212, allocations: 62.7 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.212, allocations: 0 / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.212, allocations: 1.828 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/1.212, allocations: 1.469 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/1.212, allocations: 151.9 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/1.212, allocations: 68 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/1.212, allocations: 24.86 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004554/1.213, allocations: 401.5 kB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.213, allocations: 39.81 kB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/1.213, allocations: 0 / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005011/1.213, allocations: 92.55 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/1.213, allocations: 58.78 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/1.213, allocations: 88.91 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/1.214, allocations: 25.7 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/1.214, allocations: 84.33 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/1.214, allocations: 15.75 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/1.214, allocations: 0 / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.214, allocations: 326.7 kB / 1.098 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-05/1.214, allocations: 16.66 kB / 1.098 GB, free: 1.617 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/1.214, allocations: 21.08 kB / 1.098 GB, free: 1.598 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/1.214, allocations: 25.08 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.214, allocations: 0 / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003969/1.215, allocations: 90.25 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.215, allocations: 8 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.215, allocations: 0.5625 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.215, allocations: 8.344 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/1.215, allocations: 20.58 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.215, allocations: 0 / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/1.215, allocations: 1.5 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/1.215, allocations: 4 kB / 1.099 GB, free: 1.441 MB / 0.698 GB 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.0001254/1.215, allocations: 113.5 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/1.215, allocations: 11.89 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/1.216, allocations: 129.8 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.216, allocations: 0 / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.216, allocations: 4.469 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.216, allocations: 1.062 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/1.216, allocations: 155.7 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.216, allocations: 0.5312 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/1.216, allocations: 18.41 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.216, allocations: 0 / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.216, allocations: 9.391 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.216, allocations: 0 / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.216, allocations: 0 / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004197/1.217, allocations: 127 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005528/1.217, allocations: 494.9 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/1.217, allocations: 81.81 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/1.217, allocations: 4 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/1.217, allocations: 4.781 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/1.217, allocations: 15.92 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.217, allocations: 0 / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-05/1.218, allocations: 77.88 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001102/1.219, allocations: 12 kB / 1.1 GB, free: 128 kB / 0.698 GB 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.0002718/1.219, allocations: 123.2 kB / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002154/1.219, allocations: 51.98 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.219, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/1.219, allocations: 35.92 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/1.219, allocations: 1.891 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/1.22, allocations: 106.5 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/1.22, allocations: 0.6997 MB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.22, allocations: 0 / 1.101 GB, free: 15.06 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)