Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.0009471/0.0009473, allocations: 196.3 kB / 316 MB, free: 3.52 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.177/1.177, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0008892/0.0008892, allocations: 86.45 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3728/0.3737, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.5524, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5266/1.079, allocations: 132.3 MB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/1.079, allocations: 72.27 kB / 1.014 GB, free: 6.145 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00333/1.083, allocations: 1.098 MB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.083, allocations: 8 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/1.083, allocations: 11.89 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/1.083, allocations: 163.1 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/1.083, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/1.083, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.244e-05/1.083, allocations: 18.56 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.083, allocations: 48.62 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.083, allocations: 3.938 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.083, allocations: 7.906 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.083, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/1.084, allocations: 255.3 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/1.084, allocations: 37.88 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/1.084, allocations: 16.3 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/1.084, allocations: 404.5 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/1.084, allocations: 34.5 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.084, allocations: 0 / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001981/1.085, allocations: 55.78 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/1.085, allocations: 51.41 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/1.085, allocations: 96.3 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/1.085, allocations: 29.7 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/1.085, allocations: 84.14 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/1.085, allocations: 7.531 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.085, allocations: 0 / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/1.085, allocations: 314.8 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/1.085, allocations: 11.55 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/1.085, allocations: 7.5 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/1.085, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.085, allocations: 3.906 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001458/1.085, allocations: 52.75 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.085, allocations: 12 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.085, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/1.085, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/1.085, allocations: 12.73 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.085, allocations: 4 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/1.085, allocations: 11.98 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.085, allocations: 7.906 kB / 1.017 GB, free: 3.203 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: 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 7.395e-05/1.086, allocations: 101 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/1.086, allocations: 3.938 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/1.086, allocations: 60.48 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/1.086, allocations: 4.141 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.086, allocations: 3.938 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/1.086, allocations: 3.984 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/1.086, allocations: 153.2 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.086, allocations: 0 / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/1.086, allocations: 19.92 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.086, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/1.086, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.086, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.086, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000146/1.086, allocations: 153.1 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002448/1.086, allocations: 0.5107 MB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/1.087, allocations: 88.94 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.087, allocations: 0.875 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/1.087, allocations: 12 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.087, allocations: 7.609 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/1.087, allocations: 4 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.023e-05/1.087, allocations: 86.97 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007611/1.088, allocations: 19.92 kB / 1.018 GB, free: 1.918 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: 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.0001796/1.088, allocations: 107.2 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/1.088, allocations: 22.61 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.088, allocations: 4 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/1.088, allocations: 15.56 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/1.088, allocations: 7.906 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/1.088, allocations: 70.89 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/1.089, allocations: 0.6915 MB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.089, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)