Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.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.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.001027/0.001027, allocations: 189 kB / 316 MB, free: 3.551 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.237/1.237, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008578/0.0008577, allocations: 85.64 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3665/0.3674, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.5427, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/1.057, allocations: 131.6 MB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.057, allocations: 74.89 kB / 1.013 GB, free: 6.969 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.003788/1.061, allocations: 1.272 MB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/1.061, allocations: 8 kB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/1.061, allocations: 4 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/1.061, allocations: 171 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/1.061, allocations: 277 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/1.061, allocations: 4 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001906/1.061, allocations: 121.6 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/1.061, allocations: 60.66 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/1.061, allocations: 0 / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.061, allocations: 0 / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.061, allocations: 7.984 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/1.062, allocations: 161.1 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/1.062, allocations: 82.08 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/1.062, allocations: 35.91 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/1.062, allocations: 7.984 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/1.062, allocations: 34.56 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/1.062, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003082/1.062, allocations: 95.44 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/1.062, allocations: 51.41 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.858e-05/1.062, allocations: 85 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/1.062, allocations: 25.7 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/1.062, allocations: 80.66 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/1.062, allocations: 46.7 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/1.062, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.062, allocations: 314 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/1.063, allocations: 24.55 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/1.063, allocations: 23.73 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/1.063, allocations: 23.61 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.063, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/1.063, allocations: 99.86 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.063, allocations: 7.984 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.063, allocations: 11.91 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/1.063, allocations: 3.938 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.063, allocations: 23.92 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/1.063, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/1.063, allocations: 7.938 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.063, allocations: 7.984 kB / 1.016 GB, free: 3.797 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: 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 6.712e-05/1.063, allocations: 111.9 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/1.063, allocations: 7.375 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/1.063, allocations: 11.84 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.063, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.063, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.063, allocations: 3.906 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/1.064, allocations: 154 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.064, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/1.064, allocations: 23.97 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.064, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.064, allocations: 4 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.064, allocations: 3.906 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.064, allocations: 3.984 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002577/1.064, allocations: 138.5 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003426/1.064, allocations: 0.49 MB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/1.064, allocations: 88.95 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.064, allocations: 0 / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-05/1.064, allocations: 4 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/1.065, allocations: 15.97 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/1.065, allocations: 4 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.129e-05/1.065, allocations: 75.28 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007485/1.065, allocations: 35.7 kB / 1.017 GB, free: 2.582 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: 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.0002121/1.066, allocations: 127 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001272/1.066, allocations: 65.53 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.066, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/1.066, allocations: 47.36 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.331e-05/1.066, allocations: 0 / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/1.066, allocations: 102.8 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/1.066, allocations: 0.7111 MB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.066, allocations: 0 / 1.018 GB, free: 1.512 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)