Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.608/2.608, 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.001592/0.001592, allocations: 173.3 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.00124/0.00124, allocations: 93.88 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2835/0.2848, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.9554, allocations: 115.2 MB / 0.9627 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/1.184, allocations: 137.4 MB / 1.097 GB, free: 3.504 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.184, allocations: 72.56 kB / 1.097 GB, free: 3.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00494/1.189, allocations: 1.085 MB / 1.098 GB, free: 2.344 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.189, allocations: 12.5 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/1.189, allocations: 3.906 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/1.189, allocations: 171.6 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/1.189, allocations: 0 / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/1.19, allocations: 4 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/1.19, allocations: 19.09 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/1.19, allocations: 53.61 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.19, allocations: 5.078 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.19, allocations: 0 / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.19, allocations: 2.844 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/1.19, allocations: 254.7 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/1.191, allocations: 45.61 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/1.191, allocations: 16.86 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/1.191, allocations: 397.6 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.191, allocations: 34.47 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/1.191, allocations: 1.375 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002835/1.191, allocations: 49.69 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/1.192, allocations: 51.91 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/1.192, allocations: 102.3 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/1.192, allocations: 25.7 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/1.192, allocations: 84.55 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/1.192, allocations: 5.031 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/1.192, allocations: 4 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.192, allocations: 314.8 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/1.192, allocations: 9.031 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/1.192, allocations: 8.547 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/1.192, allocations: 12.53 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.192, allocations: 3.938 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001654/1.192, allocations: 55.14 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.192, allocations: 4 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.192, allocations: 0.5312 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.192, allocations: 0.7188 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/1.193, allocations: 19.98 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.193, allocations: 1.625 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.193, allocations: 11.98 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.193, allocations: 0 / 1.1 GB, free: 380 kB / 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: 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.615e-05/1.193, allocations: 104.8 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/1.193, allocations: 12.98 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/1.193, allocations: 61.95 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.193, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.193, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.193, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/1.193, allocations: 146.1 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.193, allocations: 0 / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/1.193, allocations: 23.98 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.193, allocations: 1.5 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/1.194, allocations: 0.6562 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.194, allocations: 3.266 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.194, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002055/1.194, allocations: 146 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003347/1.194, allocations: 0.5247 MB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/1.194, allocations: 81.09 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/1.194, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/1.194, allocations: 8 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/1.194, allocations: 7.984 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/1.194, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.753e-05/1.195, allocations: 89.16 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001142/1.196, allocations: 31.77 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB 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.0001945/1.196, allocations: 103.2 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001284/1.196, allocations: 23.98 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.196, allocations: 3.938 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/1.196, allocations: 12.66 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/1.196, allocations: 4 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/1.197, allocations: 68.59 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/1.197, allocations: 0.6954 MB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.197, allocations: 3.75 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)