Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",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.001516/0.001515, allocations: 188 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4952/0.4952, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.411/1.411, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009442/0.0009444, allocations: 92.73 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2244/0.2254, allocations: 78.46 MB / 494 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.6474, allocations: 72.3 MB / 0.553 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.7756, allocations: 100.9 MB / 0.6515 GB, free: 9.184 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.776, allocations: 75.94 kB / 0.6516 GB, free: 9.109 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.004021/0.78, allocations: 1.209 MB / 0.6528 GB, free: 7.891 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7801, allocations: 13.38 kB / 0.6528 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/0.781, allocations: 172.8 kB / 0.653 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.7812, allocations: 163.1 kB / 0.6531 GB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7812, allocations: 2.531 kB / 0.6531 GB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.7812, allocations: 4 kB / 0.6531 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002455/0.7815, allocations: 125.6 kB / 0.6532 GB, free: 7.395 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.7817, allocations: 114.5 kB / 0.6533 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7817, allocations: 0 / 0.6533 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.7817, allocations: 12.36 kB / 0.6534 GB, free: 7.262 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7817, allocations: 0.9688 kB / 0.6534 GB, free: 7.262 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.7828, allocations: 446 kB / 0.6538 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.7833, allocations: 158.9 kB / 0.6539 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.7834, allocations: 48.98 kB / 0.654 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.7834, allocations: 8.547 kB / 0.654 GB, free: 6.578 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.7835, allocations: 42.98 kB / 0.654 GB, free: 6.527 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.654e-06/0.7835, allocations: 0.9375 kB / 0.654 GB, free: 6.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003219/0.7838, allocations: 109.6 kB / 0.6541 GB, free: 6.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7839, allocations: 51.94 kB / 0.6542 GB, free: 6.352 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.784, allocations: 97.72 kB / 0.6543 GB, free: 6.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.784, allocations: 26.45 kB / 0.6543 GB, free: 6.219 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.7841, allocations: 93.34 kB / 0.6544 GB, free: 6.125 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.7841, allocations: 7.906 kB / 0.6544 GB, free: 6.117 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.7841, allocations: 0 / 0.6544 GB, free: 6.117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7843, allocations: 314.8 kB / 0.6547 GB, free: 5.801 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.7843, allocations: 47.95 kB / 0.6547 GB, free: 5.754 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.7844, allocations: 43.97 kB / 0.6548 GB, free: 5.711 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.587e-05/0.7845, allocations: 31.98 kB / 0.6548 GB, free: 5.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7845, allocations: 0 / 0.6548 GB, free: 5.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000213/0.7847, allocations: 117.5 kB / 0.6549 GB, free: 5.559 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.7848, allocations: 4 kB / 0.6549 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7848, allocations: 4 kB / 0.6549 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7848, allocations: 3.984 kB / 0.6549 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.7851, allocations: 47.95 kB / 0.655 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7851, allocations: 0 / 0.655 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.7854, allocations: 46.52 kB / 0.655 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.7854, allocations: 3.906 kB / 0.655 GB, free: 5.453 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: 0 () * 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 8.509e-05/0.7855, allocations: 105 kB / 0.6551 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.7855, allocations: 0 / 0.6551 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.7856, allocations: 13.5 kB / 0.6551 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7856, allocations: 11.84 kB / 0.6552 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7856, allocations: 0 / 0.6552 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7856, allocations: 0 / 0.6552 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.7859, allocations: 182.2 kB / 0.6553 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7859, allocations: 0 / 0.6553 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.7862, allocations: 51.95 kB / 0.6554 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7862, allocations: 0 / 0.6554 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.7862, allocations: 0 / 0.6554 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/0.7862, allocations: 11.83 kB / 0.6554 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7862, allocations: 0 / 0.6554 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002641/0.7865, allocations: 208.6 kB / 0.6556 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004205/0.7869, allocations: 0.574 MB / 0.6562 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.787, allocations: 81.02 kB / 0.6562 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.787, allocations: 0 / 0.6562 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.7873, allocations: 39.95 kB / 0.6563 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.7873, allocations: 4 kB / 0.6563 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.7874, allocations: 0 / 0.6563 GB, free: 4.082 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.977e-05/0.7874, allocations: 97.44 kB / 0.6564 GB, free: 3.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008223/0.7883, allocations: 23.84 kB / 0.6564 GB, free: 3.965 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: 0 () * 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.0001305/0.7884, allocations: 91.25 kB / 0.6565 GB, free: 3.867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.7886, allocations: 92.22 kB / 0.6566 GB, free: 3.777 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7886, allocations: 0 / 0.6566 GB, free: 3.777 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.7887, allocations: 55.95 kB / 0.6566 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.7889, allocations: 3.281 kB / 0.6566 GB, free: 3.723 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.7897, allocations: 189.7 kB / 0.6568 GB, free: 3.516 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.7902, allocations: 0.711 MB / 0.6575 GB, free: 2.781 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7902, allocations: 4 kB / 0.6575 GB, free: 2.777 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)