Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",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.00476/0.00476, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8276/0.8276, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.559/1.559, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009982/0.0009982, allocations: 101.8 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4823/0.4833, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.677, allocations: 82.31 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6152/1.292, allocations: 110.1 MB / 0.7409 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.293, allocations: 78.97 kB / 0.7409 GB, free: 10.69 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.004363/1.297, allocations: 1.277 MB / 0.7422 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.297, allocations: 7.688 kB / 0.7422 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/1.297, allocations: 8.578 kB / 0.7422 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.297, allocations: 163.7 kB / 0.7424 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/1.298, allocations: 286.2 kB / 0.7426 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/1.298, allocations: 3.969 kB / 0.7426 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002185/1.298, allocations: 114.2 kB / 0.7427 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/1.298, allocations: 66.81 kB / 0.7428 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.298, allocations: 0 / 0.7428 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/1.298, allocations: 0 / 0.7428 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.298, allocations: 0 / 0.7428 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/1.298, allocations: 163.8 kB / 0.743 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.298, allocations: 82.17 kB / 0.743 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/1.298, allocations: 30.11 kB / 0.7431 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/1.298, allocations: 7.406 kB / 0.7431 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/1.298, allocations: 30.56 kB / 0.7431 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/1.298, allocations: 0 / 0.7431 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0004097/1.299, allocations: 99.98 kB / 0.7432 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/1.299, allocations: 55.41 kB / 0.7432 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.534e-05/1.299, allocations: 85 kB / 0.7433 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.299, allocations: 27.02 kB / 0.7434 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/1.299, allocations: 84.2 kB / 0.7434 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/1.299, allocations: 33.95 kB / 0.7435 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/1.299, allocations: 0 / 0.7435 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.299, allocations: 313.5 kB / 0.7438 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/1.299, allocations: 25.8 kB / 0.7438 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/1.299, allocations: 16.89 kB / 0.7438 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/1.3, allocations: 45.97 kB / 0.7439 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.3, allocations: 0 / 0.7439 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000256/1.3, allocations: 96.77 kB / 0.7439 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.3, allocations: 7.844 kB / 0.744 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.3, allocations: 1.688 kB / 0.744 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.3, allocations: 0 / 0.744 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/1.3, allocations: 24.59 kB / 0.744 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.3, allocations: 0.5625 kB / 0.744 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/1.3, allocations: 9.078 kB / 0.744 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/1.3, allocations: 5.141 kB / 0.744 GB, free: 24.81 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: 1 (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.0001059/1.3, allocations: 109.5 kB / 0.7441 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/1.3, allocations: 11.75 kB / 0.7441 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/1.3, allocations: 7.781 kB / 0.7441 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.3, allocations: 0.6094 kB / 0.7441 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.3, allocations: 0 / 0.7441 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.3, allocations: 0.6562 kB / 0.7441 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/1.3, allocations: 155.4 kB / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.3, allocations: 0.7031 kB / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/1.301, allocations: 23.16 kB / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.301, allocations: 4 kB / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.301, allocations: 12.81 kB / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.301, allocations: 0.7031 kB / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.301, allocations: 0 / 0.7443 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002824/1.301, allocations: 127.2 kB / 0.7444 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004092/1.301, allocations: 0.5018 MB / 0.7449 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/1.301, allocations: 86.17 kB / 0.745 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/1.301, allocations: 0 / 0.745 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/1.302, allocations: 4.969 kB / 0.745 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/1.302, allocations: 10.97 kB / 0.745 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.302, allocations: 5.547 kB / 0.745 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.583e-05/1.302, allocations: 78.84 kB / 0.7451 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007919/1.302, allocations: 24.72 kB / 0.7451 GB, free: 23.82 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: 1 (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.0002831/1.303, allocations: 129 kB / 0.7452 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001545/1.303, allocations: 69.75 kB / 0.7453 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.303, allocations: 0 / 0.7453 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/1.303, allocations: 39.81 kB / 0.7453 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/1.303, allocations: 7.781 kB / 0.7454 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/1.303, allocations: 101.6 kB / 0.7454 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.304, allocations: 0.7124 MB / 0.7461 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/1.304, allocations: 4 kB / 0.7461 GB, free: 22.93 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)