Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8845/0.8845, allocations: 141.8 MB / 149.1 MB, free: 12.72 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 182.8 kB / 182 MB, free: 9.445 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 436 MB, free: 1.781 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009651, allocations: 103 kB / 0.507 GB, free: 10.6 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001864/0.001864, allocations: 263.8 kB / 0.5885 GB, free: 7.449 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.1745, allocations: 89.65 MB / 0.676 GB, free: 13.71 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.5238, allocations: 82.78 MB / 0.7568 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.6368, allocations: 107.5 MB / 0.8618 GB, free: 30.99 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.6371, allocations: 84.53 kB / 0.8618 GB, free: 30.91 MB / 0.5575 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.003709/0.6408, allocations: 1.267 MB / 0.8631 GB, free: 29.61 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6409, allocations: 12.53 kB / 0.8631 GB, free: 29.6 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.641, allocations: 9.125 kB / 0.8631 GB, free: 29.59 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.543e-05/0.641, allocations: 163 kB / 0.8633 GB, free: 29.39 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.6413, allocations: 281 kB / 0.8635 GB, free: 29.06 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.6413, allocations: 0.7188 kB / 0.8635 GB, free: 29.06 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001885/0.6415, allocations: 123.8 kB / 0.8636 GB, free: 28.94 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.6416, allocations: 75.45 kB / 0.8637 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.6416, allocations: 0 / 0.8637 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.6417, allocations: 1.719 kB / 0.8637 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6417, allocations: 0 / 0.8637 GB, free: 28.86 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.6418, allocations: 150.2 kB / 0.8639 GB, free: 28.68 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6419, allocations: 83.05 kB / 0.8639 GB, free: 28.59 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.642, allocations: 37.41 kB / 0.864 GB, free: 28.55 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.642, allocations: 4.562 kB / 0.864 GB, free: 28.54 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.6421, allocations: 35.22 kB / 0.864 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.6421, allocations: 0.7188 kB / 0.864 GB, free: 28.5 MB / 0.5575 GB Notification: Performance of matching and sorting (n=11): time 0.000371/0.6424, allocations: 93.92 kB / 0.8641 GB, free: 28.4 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.6425, allocations: 56 kB / 0.8642 GB, free: 28.34 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.329e-05/0.6425, allocations: 85.56 kB / 0.8642 GB, free: 28.25 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.6425, allocations: 26.36 kB / 0.8643 GB, free: 28.21 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.6425, allocations: 81.05 kB / 0.8643 GB, free: 28.13 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.6426, allocations: 35.45 kB / 0.8644 GB, free: 28.09 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.6426, allocations: 0.9062 kB / 0.8644 GB, free: 28.09 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.6427, allocations: 314.8 kB / 0.8647 GB, free: 27.78 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.6427, allocations: 25.17 kB / 0.8647 GB, free: 27.75 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.6428, allocations: 30 kB / 0.8647 GB, free: 27.73 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.643, allocations: 28.8 kB / 0.8648 GB, free: 27.7 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.643, allocations: 0 / 0.8648 GB, free: 27.7 MB / 0.5575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002629/0.6433, allocations: 101.5 kB / 0.8649 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.6433, allocations: 4.938 kB / 0.8649 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6433, allocations: 0 / 0.8649 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6433, allocations: 1.656 kB / 0.8649 GB, free: 27.59 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.6435, allocations: 27.97 kB / 0.8649 GB, free: 27.56 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.6435, allocations: 0 / 0.8649 GB, free: 27.56 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.6436, allocations: 7.906 kB / 0.8649 GB, free: 27.55 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.6436, allocations: 5.297 kB / 0.8649 GB, free: 27.55 MB / 0.5575 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 5.246e-05/0.6437, allocations: 108.9 kB / 0.865 GB, free: 27.44 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.6437, allocations: 5.062 kB / 0.865 GB, free: 27.43 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.6437, allocations: 7.906 kB / 0.865 GB, free: 27.43 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6437, allocations: 4 kB / 0.865 GB, free: 27.42 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6438, allocations: 1.625 kB / 0.865 GB, free: 27.42 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6438, allocations: 0 / 0.865 GB, free: 27.42 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.809e-05/0.6439, allocations: 158.1 kB / 0.8652 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6439, allocations: 0 / 0.8652 GB, free: 27.23 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.644, allocations: 29.19 kB / 0.8652 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.644, allocations: 3.938 kB / 0.8652 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.644, allocations: 0 / 0.8652 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.644, allocations: 1.406 kB / 0.8652 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.644, allocations: 0 / 0.8652 GB, free: 27.2 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002568/0.6443, allocations: 142.2 kB / 0.8653 GB, free: 27.04 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002777/0.6446, allocations: 0.4928 MB / 0.8658 GB, free: 26.53 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.6446, allocations: 85.03 kB / 0.8659 GB, free: 26.43 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.6446, allocations: 8.688 kB / 0.8659 GB, free: 26.42 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.6447, allocations: 0 / 0.8659 GB, free: 26.42 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.6448, allocations: 20.7 kB / 0.8659 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.6448, allocations: 4.656 kB / 0.8659 GB, free: 26.4 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.379e-05/0.6448, allocations: 75.28 kB / 0.866 GB, free: 26.32 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008323/0.6456, allocations: 24.66 kB / 0.866 GB, free: 26.3 MB / 0.5575 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.0001841/0.6458, allocations: 124 kB / 0.8662 GB, free: 26.17 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.646, allocations: 69.09 kB / 0.8662 GB, free: 26.1 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.646, allocations: 0 / 0.8662 GB, free: 26.1 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.646, allocations: 48.41 kB / 0.8663 GB, free: 26.05 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.6462, allocations: 3.562 kB / 0.8663 GB, free: 26.05 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.6464, allocations: 101.3 kB / 0.8664 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.6466, allocations: 0.7036 MB / 0.8671 GB, free: 25.2 MB / 0.5575 GB Notification: Performance of SimCode: time 2.5e-07/0.6466, allocations: 0.7188 kB / 0.8671 GB, free: 25.2 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)