Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.8 MB / 297.1 MB, free: 6.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 173.3 kB / 366.3 MB, free: 1.934 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 0.6256 GB, free: 7.406 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008343/0.0008343, allocations: 84.91 kB / 0.7395 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2733/0.2742, allocations: 122.4 MB / 0.8591 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.9356, allocations: 116.3 MB / 0.9727 GB, free: 75.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/1.112, allocations: 137.8 MB / 1.107 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/1.112, allocations: 76.52 kB / 1.107 GB, free: 12.55 MB / 0.7136 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.003987/1.116, allocations: 1.268 MB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.116, allocations: 12 kB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/1.116, allocations: 8.719 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.173e-05/1.116, allocations: 163.1 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/1.116, allocations: 277.5 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/1.116, allocations: 0.8438 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002075/1.117, allocations: 121.1 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/1.117, allocations: 77.48 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/1.117, allocations: 3.938 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.117, allocations: 0.5 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.117, allocations: 0.625 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/1.117, allocations: 155.4 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/1.117, allocations: 84.83 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/1.117, allocations: 33.62 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/1.117, allocations: 4.594 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.117, allocations: 35.5 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/1.117, allocations: 0 / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003484/1.118, allocations: 98.39 kB / 1.11 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/1.118, allocations: 55.91 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.948e-05/1.118, allocations: 85.84 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/1.118, allocations: 25.7 kB / 1.11 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/1.118, allocations: 81.86 kB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/1.118, allocations: 35.45 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/1.118, allocations: 2.531 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.118, allocations: 314.8 kB / 1.11 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/1.118, allocations: 23.98 kB / 1.11 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.034e-05/1.118, allocations: 23.98 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/1.118, allocations: 28.97 kB / 1.11 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.118, allocations: 1.188 kB / 1.11 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002758/1.119, allocations: 108.7 kB / 1.11 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.119, allocations: 4.938 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.119, allocations: 2.469 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.119, allocations: 1.406 kB / 1.11 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/1.119, allocations: 27.92 kB / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.119, allocations: 0 / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/1.119, allocations: 11.89 kB / 1.11 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/1.119, allocations: 0.5938 kB / 1.11 GB, free: 9.203 MB / 0.7136 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 7.784e-05/1.119, allocations: 107.3 kB / 1.11 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/1.119, allocations: 3.906 kB / 1.11 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/1.119, allocations: 8.469 kB / 1.11 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.119, allocations: 5.031 kB / 1.11 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.119, allocations: 0.5 kB / 1.11 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.119, allocations: 5.703 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/1.119, allocations: 154.1 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.119, allocations: 0 / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/1.119, allocations: 31.91 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.12, allocations: 0 / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.12, allocations: 1.719 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.12, allocations: 0.5312 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.12, allocations: 0 / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002907/1.12, allocations: 135.1 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004124/1.12, allocations: 0.4979 MB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/1.12, allocations: 84.95 kB / 1.111 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/1.12, allocations: 4.688 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/1.12, allocations: 0.8125 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/1.12, allocations: 15.91 kB / 1.111 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.12, allocations: 10.62 kB / 1.111 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.722e-05/1.121, allocations: 75.81 kB / 1.111 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007905/1.121, allocations: 28.83 kB / 1.111 GB, free: 7.953 MB / 0.7136 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.0002262/1.122, allocations: 123.2 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000147/1.122, allocations: 71.84 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/1.122, allocations: 0 / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/1.122, allocations: 39.98 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/1.122, allocations: 0 / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/1.122, allocations: 108.5 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/1.123, allocations: 0.7122 MB / 1.112 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.123, allocations: 0 / 1.112 GB, free: 6.848 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)