Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.265/1.265, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 185.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.1 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 86.22 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3339/0.3348, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.4914, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.949, allocations: 131.3 MB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.9492, allocations: 75.2 kB / 1.013 GB, free: 7.258 MB / 0.6355 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.001947/0.9512, allocations: 0.8438 MB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.9512, allocations: 11.94 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.9513, allocations: 0 / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.869e-05/0.9513, allocations: 171 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.9514, allocations: 0 / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.9514, allocations: 4 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/0.9515, allocations: 98.69 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.9516, allocations: 57.78 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.9516, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.9517, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.9517, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.9518, allocations: 152.6 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.9519, allocations: 76.8 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.952, allocations: 24.47 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.9523, allocations: 404.5 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.9523, allocations: 34.56 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.9523, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003063/0.9526, allocations: 84.72 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.9526, allocations: 59.34 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.687e-05/0.9527, allocations: 96.92 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.9527, allocations: 25.7 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.9527, allocations: 84.08 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.9528, allocations: 15.72 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9528, allocations: 0 / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.9529, allocations: 318 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.9529, allocations: 19.48 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.9529, allocations: 15.19 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.9531, allocations: 39.17 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9531, allocations: 4 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002323/0.9533, allocations: 87.25 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.9534, allocations: 8 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.9534, allocations: 0 / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.9534, allocations: 0 / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.9535, allocations: 27.7 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.9535, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.9535, allocations: 7.844 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.9535, allocations: 4 kB / 1.016 GB, free: 4.383 MB / 0.6355 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 6.465e-05/0.9536, allocations: 109 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.9536, allocations: 7.906 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.9539, allocations: 123.5 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9539, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9539, allocations: 1.75 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9539, allocations: 3.938 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.9541, allocations: 152.8 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9541, allocations: 4 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.9541, allocations: 23.92 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9541, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.9542, allocations: 7.312 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9542, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9542, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000244/0.9544, allocations: 118.2 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003283/0.9547, allocations: 0.4965 MB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.9548, allocations: 81.02 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.9548, allocations: 5 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.9548, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.9549, allocations: 11.42 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.9549, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.645e-05/0.9549, allocations: 77.84 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007357/0.9556, allocations: 16 kB / 1.017 GB, free: 3.098 MB / 0.6355 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.0001694/0.9558, allocations: 122.4 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.9559, allocations: 50.3 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9559, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.956, allocations: 35.77 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.433e-05/0.9561, allocations: 7.906 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.9563, allocations: 101 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.9565, allocations: 0.707 MB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.9565, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)