Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.8 MB / 297 MB, free: 6.672 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.001171/0.001171, allocations: 185.3 kB / 366.3 MB, free: 2.008 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.558/1.558, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009894/0.000989, allocations: 89.69 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3035/0.3046, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/1.018, allocations: 116.3 MB / 0.9727 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/1.208, allocations: 137.5 MB / 1.107 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.209, allocations: 76.52 kB / 1.107 GB, free: 10.94 MB / 0.7136 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.002609/1.211, allocations: 0.8453 MB / 1.108 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/1.211, allocations: 8 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/1.212, allocations: 7.891 kB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/1.212, allocations: 167 kB / 1.108 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/1.212, allocations: 0.5312 kB / 1.108 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/1.212, allocations: 6.188 kB / 1.108 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002136/1.212, allocations: 99.88 kB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/1.212, allocations: 57.58 kB / 1.108 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/1.212, allocations: 3.938 kB / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.212, allocations: 0.75 kB / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/1.212, allocations: 0 / 1.108 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/1.212, allocations: 143.5 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/1.212, allocations: 75.66 kB / 1.108 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/1.213, allocations: 32.84 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/1.213, allocations: 401.5 kB / 1.109 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.213, allocations: 38.55 kB / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/1.213, allocations: 0 / 1.109 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0004116/1.213, allocations: 89.34 kB / 1.109 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/1.213, allocations: 55.41 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/1.214, allocations: 92.89 kB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.214, allocations: 25.7 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/1.214, allocations: 88.33 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/1.214, allocations: 11.81 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/1.214, allocations: 8.531 kB / 1.109 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.214, allocations: 322.8 kB / 1.109 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/1.214, allocations: 19.98 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/1.214, allocations: 16 kB / 1.11 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/1.214, allocations: 27.97 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.214, allocations: 0 / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000275/1.214, allocations: 85.66 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.214, allocations: 9.031 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.214, allocations: 4 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.214, allocations: 3.906 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/1.215, allocations: 23.92 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.215, allocations: 0 / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/1.215, allocations: 3.938 kB / 1.11 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.215, allocations: 4 kB / 1.11 GB, free: 7.926 MB / 0.7136 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.0001098/1.215, allocations: 109 kB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/1.215, allocations: 7.906 kB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/1.215, allocations: 130.7 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.215, allocations: 0 / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.215, allocations: 2.625 kB / 1.11 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.215, allocations: 3.938 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/1.215, allocations: 142.1 kB / 1.11 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.215, allocations: 0 / 1.11 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/1.216, allocations: 27.92 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/1.216, allocations: 8 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/1.216, allocations: 4 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.216, allocations: 0 / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.216, allocations: 0 / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003109/1.216, allocations: 121.3 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003947/1.216, allocations: 0.49 MB / 1.111 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/1.216, allocations: 81.09 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/1.216, allocations: 4 kB / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/1.216, allocations: 3.906 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/1.217, allocations: 11.98 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/1.217, allocations: 3.938 kB / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.489e-05/1.217, allocations: 77.88 kB / 1.111 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007702/1.217, allocations: 16 kB / 1.111 GB, free: 6.594 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: 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.0002225/1.218, allocations: 116.7 kB / 1.111 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001284/1.218, allocations: 57.45 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.218, allocations: 4 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/1.218, allocations: 27.98 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/1.218, allocations: 5.875 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/1.218, allocations: 99.64 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.219, allocations: 0.7092 MB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.219, allocations: 4 kB / 1.112 GB, free: 5.523 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)