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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") [: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.342/1.342, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001134/0.001134, allocations: 181.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 205.1 MB / 0.6195 GB, free: 11.92 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008132/0.0008134, allocations: 99.7 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.685e-06, allocations: 4 kB / 0.8511 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4609, allocations: 115.3 MB / 0.9637 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.598, allocations: 137.3 MB / 1.098 GB, free: 2.777 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.5982, allocations: 74.06 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003054/0.6013, allocations: 0.8499 MB / 1.099 GB, free: 1.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.6013, allocations: 0.5 kB / 1.099 GB, free: 1.895 MB / 0.698 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.0003336/0.6016, allocations: 354.1 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.6017, allocations: 10.16 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/0.6025, allocations: 168.2 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.6026, allocations: 175.6 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.6027, allocations: 1.453 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.6027, allocations: 6.5 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002088/0.6029, allocations: 115.9 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.6031, allocations: 111.3 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6031, allocations: 6.625 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.6031, allocations: 4 kB / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6031, allocations: 0 / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.604, allocations: 439.9 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.6044, allocations: 166.5 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.6045, allocations: 48.98 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.6045, allocations: 4.062 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.6045, allocations: 34.55 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.913e-06/0.6046, allocations: 4.609 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002421/0.6048, allocations: 121.5 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.6048, allocations: 51.41 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.6049, allocations: 97 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.6049, allocations: 25.7 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.605, allocations: 84.12 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.605, allocations: 15.81 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-06/0.605, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6051, allocations: 310.8 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.6052, allocations: 51.91 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.6053, allocations: 44.48 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.6053, allocations: 31.97 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6053, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.6055, allocations: 118.5 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.6055, allocations: 4 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.6055, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.6056, allocations: 0 / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.6058, allocations: 51.88 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.6059, allocations: 1.172 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.6061, allocations: 43.91 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.6061, allocations: 7.391 kB / 1.101 GB, free: 15.07 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 6.695e-05/0.6062, allocations: 105 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.6062, allocations: 7.906 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.6063, allocations: 12 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.6063, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6063, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6063, allocations: 0.7031 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.6065, allocations: 187.1 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6065, allocations: 4 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.6067, allocations: 47.95 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6067, allocations: 0 / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.6068, allocations: 4 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6068, allocations: 0 / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6068, allocations: 1.625 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001963/0.607, allocations: 212.3 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.607, allocations: 85.02 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.607, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.6073, allocations: 39.95 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.6073, allocations: 4 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.6073, allocations: 10.42 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.361e-05/0.6074, allocations: 83.28 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002122/0.6076, allocations: 12 kB / 1.102 GB, free: 14.2 MB / 0.7136 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.0001256/0.6077, allocations: 99.03 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.6079, allocations: 99.86 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6079, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.608, allocations: 51.91 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.6082, allocations: 13.47 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.6089, allocations: 188.3 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.6092, allocations: 0.7046 MB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.6092, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of Templates: time 0.002774/0.6119, allocations: 1.169 MB / 1.104 GB, free: 11.87 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)