Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 184 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5158/0.5158, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.332/1.332, allocations: 221.3 MB / 342.7 MB, free: 5.457 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.001002/0.001002, allocations: 97.89 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1879/0.189, allocations: 78.46 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.561, allocations: 72.3 MB / 0.553 GB, free: 44.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.6875, allocations: 100.3 MB / 0.651 GB, free: 8.262 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6878, allocations: 73.83 kB / 0.651 GB, free: 8.191 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.004102/0.6919, allocations: 1.29 MB / 0.6523 GB, free: 6.871 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.692, allocations: 8 kB / 0.6523 GB, free: 6.863 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.692, allocations: 4.656 kB / 0.6523 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.6921, allocations: 171.7 kB / 0.6525 GB, free: 6.652 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.6924, allocations: 281 kB / 0.6527 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.6924, allocations: 7.938 kB / 0.6528 GB, free: 6.309 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000201/0.6926, allocations: 111.8 kB / 0.6529 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.6927, allocations: 66.39 kB / 0.6529 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6927, allocations: 0 / 0.6529 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6928, allocations: 0 / 0.6529 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.6928, allocations: 4 kB / 0.6529 GB, free: 6.125 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.693, allocations: 162.8 kB / 0.6531 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.6931, allocations: 82.55 kB / 0.6532 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.6931, allocations: 24.86 kB / 0.6532 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.6932, allocations: 7.938 kB / 0.6532 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.6932, allocations: 34.56 kB / 0.6532 GB, free: 5.762 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.6932, allocations: 0 / 0.6532 GB, free: 5.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003639/0.6936, allocations: 98.75 kB / 0.6533 GB, free: 5.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6936, allocations: 52.44 kB / 0.6534 GB, free: 5.598 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.579e-05/0.6937, allocations: 85 kB / 0.6535 GB, free: 5.508 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.6937, allocations: 29.7 kB / 0.6535 GB, free: 5.473 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.6937, allocations: 80.66 kB / 0.6536 GB, free: 5.387 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.6938, allocations: 35.5 kB / 0.6536 GB, free: 5.352 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.6938, allocations: 0 / 0.6536 GB, free: 5.352 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6939, allocations: 322.7 kB / 0.6539 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.6939, allocations: 23.98 kB / 0.6539 GB, free: 5.004 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.694, allocations: 20 kB / 0.6539 GB, free: 4.984 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.6942, allocations: 30.7 kB / 0.654 GB, free: 4.957 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6942, allocations: 4 kB / 0.654 GB, free: 4.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002722/0.6945, allocations: 98.16 kB / 0.6541 GB, free: 4.852 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.6945, allocations: 6.031 kB / 0.6541 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6945, allocations: 4.5 kB / 0.6541 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.6945, allocations: 3.938 kB / 0.6541 GB, free: 4.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6947, allocations: 23.97 kB / 0.6541 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6947, allocations: 3.906 kB / 0.6541 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.6948, allocations: 6.312 kB / 0.6541 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6948, allocations: 4 kB / 0.6541 GB, free: 4.805 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: 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.852e-05/0.6949, allocations: 113 kB / 0.6542 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.6949, allocations: 11.84 kB / 0.6542 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.6949, allocations: 3.906 kB / 0.6542 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6949, allocations: 0 / 0.6542 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6949, allocations: 0 / 0.6542 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.695, allocations: 0.625 kB / 0.6542 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.6951, allocations: 162.1 kB / 0.6544 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6951, allocations: 0 / 0.6544 GB, free: 4.473 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.6952, allocations: 19.98 kB / 0.6544 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6952, allocations: 0.8125 kB / 0.6544 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6953, allocations: 7.984 kB / 0.6544 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.6953, allocations: 4 kB / 0.6544 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6953, allocations: 0 / 0.6544 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002934/0.6956, allocations: 124.9 kB / 0.6545 GB, free: 4.301 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004073/0.696, allocations: 0.5027 MB / 0.655 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.696, allocations: 89.45 kB / 0.6551 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.6961, allocations: 1.688 kB / 0.6551 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.6962, allocations: 7.984 kB / 0.6551 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.6962, allocations: 11.98 kB / 0.6551 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6962, allocations: 9.047 kB / 0.6552 GB, free: 3.645 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.727e-05/0.6963, allocations: 75.28 kB / 0.6552 GB, free: 3.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007879/0.6971, allocations: 27.94 kB / 0.6553 GB, free: 3.543 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: 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.0002121/0.6973, allocations: 123.1 kB / 0.6554 GB, free: 3.414 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.6974, allocations: 70.09 kB / 0.6554 GB, free: 3.348 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6974, allocations: 0 / 0.6554 GB, free: 3.348 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.6975, allocations: 47.86 kB / 0.6555 GB, free: 3.301 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.6976, allocations: 3.984 kB / 0.6555 GB, free: 3.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.6979, allocations: 99.77 kB / 0.6556 GB, free: 3.176 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.6983, allocations: 0.7075 MB / 0.6563 GB, free: 2.441 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6983, allocations: 1.406 kB / 0.6563 GB, free: 2.441 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)