Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.769/2.769, allocations: 248.6 MB / 255.9 MB, free: 7.168 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.00165/0.00165, allocations: 184 kB / 315.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.477/2.477, allocations: 205.1 MB / 0.5658 GB, free: 252 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003119/0.00312, allocations: 93.3 kB / 0.67 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.6232/0.6264, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.9124, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.852/1.764, allocations: 131 MB / 1.011 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.765, allocations: 70.77 kB / 1.012 GB, free: 9.02 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.003489/1.768, allocations: 0.8546 MB / 1.012 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.768, allocations: 12.75 kB / 1.012 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/1.768, allocations: 0 / 1.012 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/1.769, allocations: 166.9 kB / 1.013 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/1.769, allocations: 4 kB / 1.013 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/1.769, allocations: 0 / 1.013 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002694/1.769, allocations: 105.3 kB / 1.013 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/1.769, allocations: 58.27 kB / 1.013 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.579e-06/1.769, allocations: 0 / 1.013 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.769, allocations: 3.938 kB / 1.013 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.769, allocations: 4 kB / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/1.769, allocations: 152.6 kB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/1.77, allocations: 69.12 kB / 1.013 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/1.77, allocations: 28.28 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/1.77, allocations: 405 kB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.77, allocations: 30.56 kB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/1.77, allocations: 0 / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004896/1.771, allocations: 93.56 kB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.771, allocations: 55.34 kB / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.929e-05/1.771, allocations: 92.75 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.771, allocations: 25.7 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/1.771, allocations: 80.33 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/1.771, allocations: 22.97 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/1.771, allocations: 0 / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.771, allocations: 314.8 kB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/1.771, allocations: 15.31 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/1.771, allocations: 30.8 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/1.772, allocations: 32.5 kB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.772, allocations: 0 / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005816/1.772, allocations: 89.34 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.772, allocations: 4 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.772, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.772, allocations: 8 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.773, allocations: 15.98 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.773, allocations: 4 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/1.773, allocations: 7.844 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/1.773, allocations: 4 kB / 1.014 GB, free: 6.137 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 0.0001254/1.773, allocations: 116.7 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/1.773, allocations: 3.906 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/1.773, allocations: 120.1 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.773, allocations: 4 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.773, allocations: 0 / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.773, allocations: 0 / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/1.774, allocations: 158 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.774, allocations: 0 / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/1.774, allocations: 19.94 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.774, allocations: 3.984 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/1.774, allocations: 3.75 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/1.774, allocations: 8 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.774, allocations: 3.938 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000614/1.775, allocations: 111.9 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009126/1.776, allocations: 0.492 MB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/1.776, allocations: 85.02 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/1.776, allocations: 3.938 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/1.776, allocations: 0 / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/1.776, allocations: 11.97 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/1.776, allocations: 4.875 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.102e-05/1.776, allocations: 81.53 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00174/1.778, allocations: 19.98 kB / 1.015 GB, free: 4.844 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.0002972/1.778, allocations: 111.2 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002699/1.778, allocations: 57.8 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.778, allocations: 0 / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/1.779, allocations: 31.67 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/1.779, allocations: 6.141 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/1.779, allocations: 102.6 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/1.78, allocations: 0.7034 MB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/1.78, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB