Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.414/1.414, allocations: 285.5 MB / 292.8 MB, free: 9.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009965/0.0009966, allocations: 185.3 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.2 MB / 0.6195 GB, free: 2.844 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008502, allocations: 80.27 kB / 0.7326 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4387/0.4396, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.6299, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5701/1.2, allocations: 137.4 MB / 1.098 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.2, allocations: 71.23 kB / 1.098 GB, free: 44.29 MB / 0.7136 GB 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.003359/1.204, allocations: 1.187 MB / 1.099 GB, free: 43.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.204, allocations: 7.625 kB / 1.099 GB, free: 43.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007944/1.205, allocations: 177.4 kB / 1.099 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.205, allocations: 167.5 kB / 1.099 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.205, allocations: 2.375 kB / 1.099 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/1.205, allocations: 4.969 kB / 1.099 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001971/1.205, allocations: 125 kB / 1.1 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.205, allocations: 114.2 kB / 1.1 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.205, allocations: 3.938 kB / 1.1 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.205, allocations: 3.984 kB / 1.1 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.205, allocations: 0 / 1.1 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008117/1.206, allocations: 439.8 kB / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/1.206, allocations: 164.6 kB / 1.1 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/1.206, allocations: 54.52 kB / 1.1 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/1.206, allocations: 0 / 1.1 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/1.207, allocations: 33.89 kB / 1.1 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/1.207, allocations: 0.75 kB / 1.1 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002427/1.207, allocations: 111.4 kB / 1.1 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/1.207, allocations: 51.41 kB / 1.101 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/1.207, allocations: 102.6 kB / 1.101 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.207, allocations: 27.89 kB / 1.101 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/1.207, allocations: 87.83 kB / 1.101 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/1.207, allocations: 10.25 kB / 1.101 GB, free: 43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/1.207, allocations: 0 / 1.101 GB, free: 43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/1.207, allocations: 321.1 kB / 1.101 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/1.207, allocations: 40.59 kB / 1.101 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/1.207, allocations: 49.17 kB / 1.101 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.992e-05/1.207, allocations: 32.56 kB / 1.101 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.207, allocations: 7.938 kB / 1.101 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001541/1.207, allocations: 113.3 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.207, allocations: 7.844 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.207, allocations: 0 / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/1.207, allocations: 0 / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/1.208, allocations: 42.27 kB / 1.101 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.208, allocations: 8.391 kB / 1.101 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/1.208, allocations: 39.91 kB / 1.101 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/1.208, allocations: 3.75 kB / 1.101 GB, free: 42.62 MB / 0.7136 GB 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 5.603e-05/1.208, allocations: 107 kB / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/1.208, allocations: 3.906 kB / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/1.208, allocations: 13.69 kB / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.208, allocations: 0 / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/1.208, allocations: 0 / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.208, allocations: 0 / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/1.208, allocations: 193.3 kB / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.208, allocations: 0 / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/1.208, allocations: 49.86 kB / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.208, allocations: 0 / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.209, allocations: 0 / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.209, allocations: 3.875 kB / 1.102 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.209, allocations: 4 kB / 1.102 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001783/1.209, allocations: 207.5 kB / 1.102 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002268/1.209, allocations: 0.5696 MB / 1.102 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/1.209, allocations: 83.86 kB / 1.103 GB, free: 57.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/1.209, allocations: 15.56 kB / 1.103 GB, free: 57.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/1.209, allocations: 41.08 kB / 1.103 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/1.209, allocations: 0 / 1.103 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/1.209, allocations: 8.984 kB / 1.103 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.815e-05/1.209, allocations: 92.89 kB / 1.103 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007527/1.21, allocations: 11.59 kB / 1.103 GB, free: 57.5 MB / 0.7292 GB 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.0001163/1.21, allocations: 98.66 kB / 1.103 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001658/1.21, allocations: 99.25 kB / 1.103 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.21, allocations: 0 / 1.103 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/1.21, allocations: 54.7 kB / 1.103 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/1.211, allocations: 10.25 kB / 1.103 GB, free: 57.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/1.211, allocations: 198.4 kB / 1.103 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/1.212, allocations: 0.7018 MB / 1.104 GB, free: 56.62 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/1.212, allocations: 4 kB / 1.104 GB, free: 56.62 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)