Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005555/0.005555, allocations: 184.8 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.747/0.747, allocations: 133.5 MB / 141.4 MB, free: 15.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.888/1.888, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009771, allocations: 107.3 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5222/0.5232, allocations: 88.43 MB / 0.5529 GB, free: 88.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.7426, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6463/1.389, allocations: 109.8 MB / 0.7406 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.389, allocations: 75.61 kB / 0.7406 GB, free: 11.05 MB / 0.4948 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.003002/1.392, allocations: 0.8536 MB / 0.7415 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 8.442e-05/1.392, allocations: 11.44 kB / 0.7415 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/1.392, allocations: 0.6562 kB / 0.7415 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/1.393, allocations: 160.3 kB / 0.7416 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/1.393, allocations: 7.781 kB / 0.7416 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.393, allocations: 3.875 kB / 0.7416 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002972/1.393, allocations: 96.64 kB / 0.7417 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/1.393, allocations: 64.47 kB / 0.7418 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/1.393, allocations: 0 / 0.7418 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.393, allocations: 4 kB / 0.7418 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/1.393, allocations: 4.609 kB / 0.7418 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/1.394, allocations: 145.9 kB / 0.7419 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/1.394, allocations: 69.48 kB / 0.742 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/1.394, allocations: 22.23 kB / 0.742 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/1.394, allocations: 402.8 kB / 0.7424 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.394, allocations: 34.44 kB / 0.7425 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/1.394, allocations: 4.328 kB / 0.7425 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000546/1.395, allocations: 98.02 kB / 0.7426 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.395, allocations: 51.41 kB / 0.7426 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/1.395, allocations: 90.22 kB / 0.7427 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/1.395, allocations: 25.7 kB / 0.7427 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/1.395, allocations: 80.33 kB / 0.7428 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/1.395, allocations: 24.48 kB / 0.7428 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/1.395, allocations: 0 / 0.7428 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.395, allocations: 319.7 kB / 0.7431 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/1.395, allocations: 21.03 kB / 0.7431 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/1.395, allocations: 17.05 kB / 0.7432 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.396, allocations: 26.14 kB / 0.7432 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.396, allocations: 0 / 0.7432 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002558/1.396, allocations: 93.23 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.396, allocations: 7.688 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.396, allocations: 0.75 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.396, allocations: 0.75 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/1.396, allocations: 25.88 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.396, allocations: 4 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/1.396, allocations: 0.6094 kB / 0.7433 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.396, allocations: 4.688 kB / 0.7433 GB, free: 25.05 MB / 0.5105 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.0001007/1.396, allocations: 109.3 kB / 0.7434 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/1.396, allocations: 4.5 kB / 0.7434 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/1.397, allocations: 134.8 kB / 0.7435 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.397, allocations: 7.812 kB / 0.7436 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.397, allocations: 1.891 kB / 0.7436 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.397, allocations: 0.7031 kB / 0.7436 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/1.397, allocations: 149.6 kB / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.397, allocations: 0 / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/1.397, allocations: 18.11 kB / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.397, allocations: 0 / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.397, allocations: 4.672 kB / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.397, allocations: 0 / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.397, allocations: 2.391 kB / 0.7437 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002785/1.397, allocations: 127.3 kB / 0.7438 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005028/1.398, allocations: 0.4914 MB / 0.7443 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/1.398, allocations: 85.7 kB / 0.7444 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/1.398, allocations: 0.7969 kB / 0.7444 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/1.398, allocations: 3.875 kB / 0.7444 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/1.398, allocations: 7.047 kB / 0.7444 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/1.398, allocations: 4.562 kB / 0.7444 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.353e-05/1.398, allocations: 75.28 kB / 0.7445 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008141/1.399, allocations: 16.56 kB / 0.7445 GB, free: 24.01 MB / 0.5105 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.0004633/1.399, allocations: 116.6 kB / 0.7446 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001749/1.399, allocations: 56.91 kB / 0.7447 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.399, allocations: 4 kB / 0.7447 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/1.399, allocations: 38.48 kB / 0.7447 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/1.4, allocations: 0 / 0.7447 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/1.4, allocations: 99.89 kB / 0.7448 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/1.4, allocations: 0.7098 MB / 0.7455 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/1.4, allocations: 0 / 0.7455 GB, free: 23.12 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)