Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_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.002798/0.002798, allocations: 185.6 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.537/1.537, 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.001089/0.001089, allocations: 94.78 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4919/0.4931, allocations: 88.44 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6834, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/1.23, allocations: 109.8 MB / 0.7406 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.231, allocations: 77.17 kB / 0.7406 GB, free: 10.56 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.00235/1.233, allocations: 0.8504 MB / 0.7415 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.233, allocations: 8.344 kB / 0.7415 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/1.233, allocations: 0 / 0.7415 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/1.233, allocations: 167.7 kB / 0.7416 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.233, allocations: 5.266 kB / 0.7416 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/1.233, allocations: 3.656 kB / 0.7416 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001808/1.233, allocations: 102.1 kB / 0.7417 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.355e-05/1.234, allocations: 60.86 kB / 0.7418 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/1.234, allocations: 0 / 0.7418 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.234, allocations: 0.6562 kB / 0.7418 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.234, allocations: 0 / 0.7418 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/1.234, allocations: 149.7 kB / 0.7419 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/1.234, allocations: 71.75 kB / 0.742 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/1.234, allocations: 29.36 kB / 0.742 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/1.234, allocations: 406.4 kB / 0.7424 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/1.234, allocations: 30.56 kB / 0.7425 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/1.234, allocations: 0 / 0.7425 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0003661/1.235, allocations: 95.11 kB / 0.7425 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/1.235, allocations: 55.16 kB / 0.7426 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.669e-05/1.235, allocations: 86.31 kB / 0.7427 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/1.235, allocations: 25.7 kB / 0.7427 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/1.235, allocations: 80.33 kB / 0.7428 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/1.235, allocations: 27 kB / 0.7428 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/1.235, allocations: 3.875 kB / 0.7428 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/1.235, allocations: 316.3 kB / 0.7431 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/1.235, allocations: 17.09 kB / 0.7431 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/1.235, allocations: 16.95 kB / 0.7431 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.235, allocations: 34.31 kB / 0.7432 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.235, allocations: 0 / 0.7432 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002729/1.235, allocations: 92.17 kB / 0.7433 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.235, allocations: 7.688 kB / 0.7433 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.235, allocations: 0.5625 kB / 0.7433 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.236, allocations: 4.812 kB / 0.7433 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.236, allocations: 18.48 kB / 0.7433 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.236, allocations: 0 / 0.7433 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/1.236, allocations: 0.7969 kB / 0.7433 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/1.236, allocations: 8.391 kB / 0.7433 GB, free: 24.55 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 9.727e-05/1.236, allocations: 113.5 kB / 0.7434 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/1.236, allocations: 3.875 kB / 0.7434 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/1.236, allocations: 133.5 kB / 0.7435 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.236, allocations: 0 / 0.7435 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.236, allocations: 1.688 kB / 0.7435 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.236, allocations: 1.172 kB / 0.7435 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/1.236, allocations: 153.8 kB / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.236, allocations: 0.7031 kB / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/1.236, allocations: 22.28 kB / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.236, allocations: 0 / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.236, allocations: 12.2 kB / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.236, allocations: 0 / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.236, allocations: 0.6562 kB / 0.7437 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002664/1.237, allocations: 118.6 kB / 0.7438 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003818/1.237, allocations: 499.8 kB / 0.7443 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/1.237, allocations: 93.64 kB / 0.7444 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/1.237, allocations: 3.766 kB / 0.7444 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.477e-05/1.237, allocations: 3.906 kB / 0.7444 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/1.237, allocations: 10.78 kB / 0.7444 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/1.237, allocations: 0.5625 kB / 0.7444 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.775e-05/1.237, allocations: 78.28 kB / 0.7445 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007677/1.238, allocations: 16.58 kB / 0.7445 GB, free: 23.51 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.000202/1.238, allocations: 114.4 kB / 0.7446 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.238, allocations: 53.7 kB / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.238, allocations: 0 / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-05/1.238, allocations: 41.05 kB / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/1.239, allocations: 0 / 0.7447 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/1.239, allocations: 102.2 kB / 0.7448 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/1.239, allocations: 0.7098 MB / 0.7455 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.239, allocations: 0 / 0.7455 GB, free: 22.62 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)