Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7836/0.7836, 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.001295/0.001295, allocations: 185.3 kB / 164.4 MB, free: 6.887 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.592/1.592, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.0008878/0.0008879, allocations: 81.27 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3755/0.3764, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.5703, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/1.107, allocations: 102 MB / 0.7206 GB, free: 10.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.108, allocations: 71.95 kB / 0.7207 GB, free: 10.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.004046/1.112, allocations: 1.222 MB / 0.7218 GB, free: 9.027 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.112, allocations: 8 kB / 0.7219 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/1.113, allocations: 179.7 kB / 0.722 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/1.113, allocations: 171 kB / 0.7222 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/1.113, allocations: 0 / 0.7222 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/1.113, allocations: 4 kB / 0.7222 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002352/1.113, allocations: 119.9 kB / 0.7223 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/1.113, allocations: 109.5 kB / 0.7224 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/1.113, allocations: 0 / 0.7224 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/1.113, allocations: 4 kB / 0.7224 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.113, allocations: 7.984 kB / 0.7224 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009586/1.114, allocations: 437.9 kB / 0.7228 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/1.115, allocations: 166.4 kB / 0.723 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/1.115, allocations: 49.64 kB / 0.723 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/1.115, allocations: 3.984 kB / 0.723 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.115, allocations: 34.56 kB / 0.7231 GB, free: 7.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/1.115, allocations: 0 / 0.7231 GB, free: 7.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003011/1.115, allocations: 109.6 kB / 0.7232 GB, free: 7.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.115, allocations: 55.41 kB / 0.7232 GB, free: 7.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/1.115, allocations: 103 kB / 0.7233 GB, free: 7.367 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.115, allocations: 25.7 kB / 0.7234 GB, free: 7.336 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/1.115, allocations: 84.12 kB / 0.7234 GB, free: 7.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/1.115, allocations: 11.91 kB / 0.7235 GB, free: 7.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/1.115, allocations: 0 / 0.7235 GB, free: 7.238 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/1.116, allocations: 314.8 kB / 0.7238 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/1.116, allocations: 47.91 kB / 0.7238 GB, free: 6.875 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/1.116, allocations: 51.95 kB / 0.7239 GB, free: 6.824 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/1.116, allocations: 31.98 kB / 0.7239 GB, free: 6.793 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.116, allocations: 0 / 0.7239 GB, free: 6.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001876/1.116, allocations: 105.6 kB / 0.724 GB, free: 6.684 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.116, allocations: 8 kB / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.116, allocations: 0 / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.116, allocations: 3.984 kB / 0.724 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/1.116, allocations: 47.86 kB / 0.724 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.116, allocations: 0.75 kB / 0.724 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/1.117, allocations: 49.89 kB / 0.7241 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.117, allocations: 4 kB / 0.7241 GB, free: 6.574 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: 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 9.314e-05/1.117, allocations: 108.9 kB / 0.7242 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/1.117, allocations: 7.906 kB / 0.7242 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/1.117, allocations: 4 kB / 0.7242 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.117, allocations: 4 kB / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.117, allocations: 0 / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/1.117, allocations: 3.938 kB / 0.7242 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/1.117, allocations: 198.1 kB / 0.7244 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.117, allocations: 0 / 0.7244 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/1.117, allocations: 43.95 kB / 0.7244 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.117, allocations: 7.984 kB / 0.7245 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.117, allocations: 4 kB / 0.7245 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.117, allocations: 3.984 kB / 0.7245 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.118, allocations: 0 / 0.7245 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/1.118, allocations: 203.4 kB / 0.7247 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003548/1.118, allocations: 0.5851 MB / 0.7252 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/1.118, allocations: 81.11 kB / 0.7253 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/1.118, allocations: 0 / 0.7253 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/1.118, allocations: 39.95 kB / 0.7253 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/1.119, allocations: 3.906 kB / 0.7253 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.119, allocations: 4 kB / 0.7253 GB, free: 5.191 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.778e-05/1.119, allocations: 87.27 kB / 0.7254 GB, free: 5.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007875/1.119, allocations: 12 kB / 0.7254 GB, free: 5.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: 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.0001713/1.12, allocations: 95.25 kB / 0.7255 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/1.12, allocations: 99.94 kB / 0.7256 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.12, allocations: 0 / 0.7256 GB, free: 4.891 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/1.12, allocations: 51.95 kB / 0.7257 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/1.12, allocations: 0 / 0.7257 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/1.121, allocations: 183.6 kB / 0.7259 GB, free: 4.637 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/1.121, allocations: 0.7149 MB / 0.7266 GB, free: 3.898 MB / 490.7 MB Notification: Performance of SimCode: time 2.305e-06/1.121, allocations: 0 / 0.7266 GB, free: 3.898 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)