Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7396/0.7396, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001658/0.001658, allocations: 185.2 kB / 164.4 MB, free: 6.867 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.635/1.635, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001003/0.001003, allocations: 76.66 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3006/0.3017, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.477, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.9216, allocations: 101.4 MB / 0.7201 GB, free: 10.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.9219, allocations: 75.95 kB / 0.7202 GB, free: 10.85 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.004494/0.9264, allocations: 1.374 MB / 0.7215 GB, free: 9.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.9265, allocations: 11.94 kB / 0.7215 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.9265, allocations: 11.91 kB / 0.7215 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.9266, allocations: 167.1 kB / 0.7217 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.9269, allocations: 281 kB / 0.7219 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.9269, allocations: 7.984 kB / 0.722 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002205/0.9272, allocations: 111.8 kB / 0.7221 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.9273, allocations: 65.64 kB / 0.7221 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9273, allocations: 4 kB / 0.7221 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.9274, allocations: 0 / 0.7221 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.9274, allocations: 3.938 kB / 0.7221 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.9276, allocations: 162.8 kB / 0.7223 GB, free: 8.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.9278, allocations: 78.56 kB / 0.7224 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.9279, allocations: 28.84 kB / 0.7224 GB, free: 8.363 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.928, allocations: 4 kB / 0.7224 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.928, allocations: 34.56 kB / 0.7224 GB, free: 8.316 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.928, allocations: 0 / 0.7224 GB, free: 8.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004286/0.9285, allocations: 99.69 kB / 0.7225 GB, free: 8.215 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.9285, allocations: 55.34 kB / 0.7226 GB, free: 8.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.9286, allocations: 89.31 kB / 0.7227 GB, free: 8.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.9286, allocations: 33.7 kB / 0.7227 GB, free: 8.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.9287, allocations: 80.33 kB / 0.7228 GB, free: 7.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.9288, allocations: 35.41 kB / 0.7228 GB, free: 7.895 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.9288, allocations: 0 / 0.7228 GB, free: 7.895 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.929, allocations: 318.8 kB / 0.7231 GB, free: 7.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.9291, allocations: 20 kB / 0.7231 GB, free: 7.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.9291, allocations: 23.98 kB / 0.7231 GB, free: 7.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.9293, allocations: 31.97 kB / 0.7232 GB, free: 7.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9293, allocations: 0 / 0.7232 GB, free: 7.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003231/0.9297, allocations: 97.89 kB / 0.7233 GB, free: 7.398 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.9297, allocations: 11.94 kB / 0.7233 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.9297, allocations: 0 / 0.7233 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.9297, allocations: 0 / 0.7233 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9299, allocations: 27.91 kB / 0.7233 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.93, allocations: 0 / 0.7233 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.93, allocations: 4 kB / 0.7233 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.93, allocations: 4 kB / 0.7233 GB, free: 7.352 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: 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 0.000116/0.9302, allocations: 108.9 kB / 0.7234 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.9302, allocations: 11.98 kB / 0.7234 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.9303, allocations: 3.906 kB / 0.7234 GB, free: 7.227 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.9303, allocations: 3.906 kB / 0.7234 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.9303, allocations: 0 / 0.7234 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.9303, allocations: 4 kB / 0.7234 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.9306, allocations: 154.2 kB / 0.7236 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9306, allocations: 0 / 0.7236 GB, free: 7.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.9308, allocations: 23.89 kB / 0.7236 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9308, allocations: 0 / 0.7236 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.9308, allocations: 7.984 kB / 0.7236 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9308, allocations: 7.938 kB / 0.7236 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9308, allocations: 0.75 kB / 0.7236 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003415/0.9312, allocations: 129 kB / 0.7237 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006082/0.9318, allocations: 0.496 MB / 0.7242 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.701e-05/0.9319, allocations: 81.05 kB / 0.7243 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.9319, allocations: 4 kB / 0.7243 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.932, allocations: 9.984 kB / 0.7243 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.9321, allocations: 15.89 kB / 0.7243 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.9321, allocations: 7.984 kB / 0.7243 GB, free: 6.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.058e-05/0.9322, allocations: 79.22 kB / 0.7244 GB, free: 6.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008365/0.933, allocations: 27.94 kB / 0.7244 GB, free: 6.094 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: 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.0002388/0.9332, allocations: 123.2 kB / 0.7246 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.9334, allocations: 67.97 kB / 0.7246 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.9334, allocations: 0 / 0.7246 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.9335, allocations: 43.86 kB / 0.7247 GB, free: 5.852 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.9336, allocations: 0 / 0.7247 GB, free: 5.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.9339, allocations: 99.89 kB / 0.7248 GB, free: 5.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.9343, allocations: 0.7152 MB / 0.7255 GB, free: 4.988 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9343, allocations: 0 / 0.7255 GB, free: 4.988 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)