Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_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.002601/0.002601, allocations: 180.9 kB / 7.454 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.7156/0.7156, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.421/1.421, 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.001006/0.001006, allocations: 108.7 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4107/0.4117, allocations: 88.44 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.5607, allocations: 82.31 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/1.051, allocations: 110.1 MB / 0.7409 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/1.051, allocations: 76.5 kB / 0.7409 GB, free: 10.65 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.003812/1.055, allocations: 1.271 MB / 0.7422 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.055, allocations: 7.688 kB / 0.7422 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/1.055, allocations: 12.38 kB / 0.7422 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/1.055, allocations: 168.3 kB / 0.7424 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/1.056, allocations: 285.2 kB / 0.7426 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/1.056, allocations: 0 / 0.7426 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/1.056, allocations: 119.8 kB / 0.7427 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/1.056, allocations: 69.78 kB / 0.7428 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.056, allocations: 0 / 0.7428 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.056, allocations: 0 / 0.7428 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.056, allocations: 0 / 0.7428 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/1.056, allocations: 159.2 kB / 0.743 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.056, allocations: 74.97 kB / 0.743 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/1.056, allocations: 33.64 kB / 0.7431 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/1.056, allocations: 3.516 kB / 0.7431 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/1.056, allocations: 42.19 kB / 0.7431 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/1.056, allocations: 0 / 0.7431 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0003333/1.057, allocations: 98.45 kB / 0.7432 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/1.057, allocations: 55.28 kB / 0.7433 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.37e-05/1.057, allocations: 85 kB / 0.7433 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.057, allocations: 29.64 kB / 0.7434 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/1.057, allocations: 80.33 kB / 0.7434 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/1.057, allocations: 30.2 kB / 0.7435 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/1.057, allocations: 4 kB / 0.7435 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.057, allocations: 318.9 kB / 0.7438 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/1.057, allocations: 21.34 kB / 0.7438 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/1.057, allocations: 22.66 kB / 0.7438 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/1.057, allocations: 36.31 kB / 0.7439 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.057, allocations: 0 / 0.7439 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002513/1.058, allocations: 95.83 kB / 0.7439 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.058, allocations: 5.266 kB / 0.7439 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.058, allocations: 0 / 0.7439 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.058, allocations: 3.875 kB / 0.744 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/1.058, allocations: 32.33 kB / 0.744 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.058, allocations: 0 / 0.744 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/1.058, allocations: 12.02 kB / 0.744 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.058, allocations: 8.922 kB / 0.744 GB, free: 24.77 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 8.292e-05/1.058, allocations: 102.4 kB / 0.7441 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/1.058, allocations: 7.719 kB / 0.7441 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/1.058, allocations: 6.469 kB / 0.7441 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.058, allocations: 0 / 0.7441 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.058, allocations: 9.344 kB / 0.7441 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.058, allocations: 0 / 0.7441 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/1.058, allocations: 151.2 kB / 0.7443 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.058, allocations: 0 / 0.7443 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/1.058, allocations: 25.05 kB / 0.7443 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.058, allocations: 0 / 0.7443 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/1.058, allocations: 5.484 kB / 0.7443 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.058, allocations: 1.547 kB / 0.7443 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.058, allocations: 3.938 kB / 0.7443 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002744/1.059, allocations: 129.1 kB / 0.7444 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003645/1.059, allocations: 0.4951 MB / 0.7449 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/1.059, allocations: 84.95 kB / 0.745 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/1.059, allocations: 5.016 kB / 0.745 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/1.059, allocations: 1.641 kB / 0.745 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/1.059, allocations: 12.23 kB / 0.745 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/1.059, allocations: 11.11 kB / 0.745 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.88e-05/1.059, allocations: 75.28 kB / 0.7451 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007899/1.06, allocations: 27.5 kB / 0.7451 GB, free: 23.78 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.0002143/1.06, allocations: 129.4 kB / 0.7452 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001296/1.061, allocations: 63.75 kB / 0.7453 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/1.061, allocations: 0 / 0.7453 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/1.061, allocations: 42.53 kB / 0.7453 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.082e-05/1.061, allocations: 7.906 kB / 0.7453 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/1.061, allocations: 105.4 kB / 0.7454 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/1.061, allocations: 0.7138 MB / 0.7461 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.061, allocations: 3.938 kB / 0.7462 GB, free: 22.88 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)