Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7679/0.7679, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.001461, allocations: 173.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.1 MB / 399.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009142/0.0009138, allocations: 83.34 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3459/0.3468, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.5312, allocations: 76.74 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5042/1.036, allocations: 102.4 MB / 0.721 GB, free: 9.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.036, allocations: 71.95 kB / 0.7211 GB, free: 9.84 MB / 490.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.005326/1.041, allocations: 1.416 MB / 0.7225 GB, free: 8.391 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.986e-05/1.041, allocations: 11.94 kB / 0.7225 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/1.041, allocations: 3.906 kB / 0.7225 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/1.042, allocations: 167.1 kB / 0.7227 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/1.042, allocations: 4 kB / 0.7227 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/1.042, allocations: 4 kB / 0.7227 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/1.042, allocations: 20 kB / 0.7227 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/1.042, allocations: 53.56 kB / 0.7228 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.042, allocations: 0 / 0.7228 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.042, allocations: 0 / 0.7228 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/1.042, allocations: 0 / 0.7228 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/1.043, allocations: 265.3 kB / 0.723 GB, free: 7.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/1.043, allocations: 42.55 kB / 0.723 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/1.043, allocations: 12.92 kB / 0.7231 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/1.043, allocations: 405.6 kB / 0.7234 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/1.043, allocations: 34.56 kB / 0.7235 GB, free: 7.191 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.805e-06/1.043, allocations: 4 kB / 0.7235 GB, free: 7.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002937/1.044, allocations: 57.53 kB / 0.7235 GB, free: 7.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.044, allocations: 51.41 kB / 0.7236 GB, free: 7.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.044, allocations: 100.9 kB / 0.7237 GB, free: 6.957 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.044, allocations: 25.7 kB / 0.7237 GB, free: 6.926 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/1.044, allocations: 84.14 kB / 0.7238 GB, free: 6.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/1.044, allocations: 3.906 kB / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/1.044, allocations: 0 / 0.7238 GB, free: 6.836 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/1.044, allocations: 322.8 kB / 0.7241 GB, free: 6.512 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/1.044, allocations: 8 kB / 0.7241 GB, free: 6.504 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/1.044, allocations: 14.55 kB / 0.7241 GB, free: 6.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/1.044, allocations: 8.75 kB / 0.7241 GB, free: 6.484 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.044, allocations: 0 / 0.7241 GB, free: 6.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/1.044, allocations: 45.69 kB / 0.7242 GB, free: 6.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/1.044, allocations: 7.938 kB / 0.7242 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.044, allocations: 4 kB / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/1.045, allocations: 0 / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.045, allocations: 16.86 kB / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.045, allocations: 0 / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/1.045, allocations: 19.83 kB / 0.7242 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/1.045, allocations: 0 / 0.7242 GB, free: 6.387 MB / 490.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 7.602e-05/1.045, allocations: 105 kB / 0.7243 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/1.045, allocations: 7.906 kB / 0.7243 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/1.045, allocations: 61.36 kB / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.045, allocations: 0 / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.045, allocations: 3.375 kB / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.045, allocations: 0 / 0.7244 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.045, allocations: 146.2 kB / 0.7245 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.045, allocations: 0 / 0.7245 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/1.045, allocations: 15.94 kB / 0.7245 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.045, allocations: 3.984 kB / 0.7245 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.045, allocations: 7.906 kB / 0.7246 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.045, allocations: 0 / 0.7246 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.045, allocations: 0 / 0.7246 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000189/1.046, allocations: 143.5 kB / 0.7247 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003045/1.046, allocations: 0.5197 MB / 0.7252 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/1.046, allocations: 81.02 kB / 0.7253 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/1.046, allocations: 3.984 kB / 0.7253 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.046, allocations: 11.94 kB / 0.7253 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.046, allocations: 8.016 kB / 0.7253 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/1.046, allocations: 4 kB / 0.7253 GB, free: 5.176 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.923e-05/1.046, allocations: 87.28 kB / 0.7254 GB, free: 5.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009222/1.047, allocations: 31.92 kB / 0.7254 GB, free: 5.059 MB / 490.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.0003612/1.048, allocations: 127.1 kB / 0.7255 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/1.048, allocations: 16 kB / 0.7256 GB, free: 4.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.048, allocations: 0 / 0.7256 GB, free: 4.906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/1.048, allocations: 15.94 kB / 0.7256 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/1.048, allocations: 4 kB / 0.7256 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/1.048, allocations: 75.77 kB / 0.7256 GB, free: 4.789 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/1.049, allocations: 0.6954 MB / 0.7263 GB, free: 4.07 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/1.049, allocations: 0 / 0.7263 GB, free: 4.07 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)