Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.002039/0.002039, allocations: 187.5 kB / 7.8 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5773/0.5773, allocations: 90.85 MB / 99.06 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.4 MB / 342.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 86.67 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1754/0.1769, allocations: 78.45 MB / 493.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.5535, allocations: 72.3 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.6709, allocations: 101.4 MB / 0.652 GB, free: 8.617 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.6712, allocations: 80.86 kB / 0.6521 GB, free: 8.539 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004783/0.676, allocations: 1.395 MB / 0.6534 GB, free: 7.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6761, allocations: 8 kB / 0.6534 GB, free: 7.121 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.6761, allocations: 3.062 kB / 0.6534 GB, free: 7.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.6763, allocations: 167 kB / 0.6536 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.6763, allocations: 0.7812 kB / 0.6536 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.6763, allocations: 4 kB / 0.6536 GB, free: 6.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.131e-05/0.6764, allocations: 21.53 kB / 0.6536 GB, free: 6.895 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.6765, allocations: 49.61 kB / 0.6537 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.6766, allocations: 0 / 0.6537 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6766, allocations: 3.984 kB / 0.6537 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.6766, allocations: 4.781 kB / 0.6537 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.677, allocations: 254.6 kB / 0.6539 GB, free: 6.547 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.6772, allocations: 39.81 kB / 0.6539 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.6773, allocations: 17.61 kB / 0.654 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003393/0.6776, allocations: 410.9 kB / 0.6544 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.6777, allocations: 31.22 kB / 0.6544 GB, free: 5.949 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.6777, allocations: 0.7188 kB / 0.6544 GB, free: 5.949 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.6779, allocations: 49.67 kB / 0.6544 GB, free: 5.895 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.6779, allocations: 52.34 kB / 0.6545 GB, free: 5.832 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.678, allocations: 100.9 kB / 0.6546 GB, free: 5.727 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.678, allocations: 33.89 kB / 0.6546 GB, free: 5.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.678, allocations: 88.95 kB / 0.6547 GB, free: 5.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6781, allocations: 3.906 kB / 0.6547 GB, free: 5.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.6781, allocations: 0 / 0.6547 GB, free: 5.598 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6782, allocations: 319.5 kB / 0.655 GB, free: 5.277 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.6782, allocations: 9.219 kB / 0.655 GB, free: 5.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.6783, allocations: 8 kB / 0.655 GB, free: 5.262 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.6783, allocations: 7.938 kB / 0.655 GB, free: 5.254 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6783, allocations: 1.812 kB / 0.655 GB, free: 5.254 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.6784, allocations: 53.59 kB / 0.6551 GB, free: 5.195 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6784, allocations: 8 kB / 0.6551 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6784, allocations: 1.25 kB / 0.6551 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6785, allocations: 0.5 kB / 0.6551 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.6786, allocations: 13.64 kB / 0.6551 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6786, allocations: 4 kB / 0.6551 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.6787, allocations: 9.922 kB / 0.6551 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.6787, allocations: 4 kB / 0.6551 GB, free: 5.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001323/0.6788, allocations: 105.8 kB / 0.6552 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.6789, allocations: 0.5312 kB / 0.6552 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.679, allocations: 67.64 kB / 0.6553 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.679, allocations: 1.531 kB / 0.6553 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6791, allocations: 0 / 0.6553 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6791, allocations: 3.906 kB / 0.6553 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.6793, allocations: 146.2 kB / 0.6554 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6793, allocations: 0.5938 kB / 0.6554 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.6794, allocations: 13.33 kB / 0.6554 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6794, allocations: 4.719 kB / 0.6554 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.6794, allocations: 0 / 0.6554 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6794, allocations: 0.6562 kB / 0.6554 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6794, allocations: 0 / 0.6554 GB, free: 4.777 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001546/0.6796, allocations: 148.8 kB / 0.6556 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002447/0.6798, allocations: 0.5221 MB / 0.6561 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.6799, allocations: 81.09 kB / 0.6562 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.6799, allocations: 3.906 kB / 0.6562 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.68, allocations: 12 kB / 0.6562 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.68, allocations: 6.797 kB / 0.6562 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.6801, allocations: 4 kB / 0.6562 GB, free: 3.957 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.033e-05/0.6801, allocations: 87.28 kB / 0.6563 GB, free: 3.871 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008202/0.6809, allocations: 27.92 kB / 0.6563 GB, free: 3.844 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001851/0.6811, allocations: 127.2 kB / 0.6564 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.6812, allocations: 19.94 kB / 0.6565 GB, free: 3.691 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6812, allocations: 0 / 0.6565 GB, free: 3.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.6813, allocations: 12.42 kB / 0.6565 GB, free: 3.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.6814, allocations: 1.484 kB / 0.6565 GB, free: 3.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.6817, allocations: 79.67 kB / 0.6565 GB, free: 3.578 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.682, allocations: 0.6954 MB / 0.6572 GB, free: 2.859 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.682, allocations: 0 / 0.6572 GB, free: 2.859 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)