Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.543/2.543, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.001629, allocations: 177.3 kB / 360.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 0.6188 GB, free: 13.29 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 100.4 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.777e-06/9.047e-06, allocations: 0 / 0.8502 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6793, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.8937, allocations: 137.2 MB / 1.097 GB, free: 3.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.894, allocations: 67.97 kB / 1.097 GB, free: 3.586 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005123/0.8992, allocations: 0.8516 MB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.8992, allocations: 0 / 1.098 GB, free: 2.773 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.0004841/0.8997, allocations: 353.4 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8998, allocations: 17.44 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.9014, allocations: 165.5 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.9015, allocations: 170.9 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9015, allocations: 0 / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.9016, allocations: 8 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003856/0.902, allocations: 123.9 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.9023, allocations: 109.6 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9023, allocations: 0.5625 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.9023, allocations: 1.75 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.9023, allocations: 0 / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.9039, allocations: 450.2 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.9047, allocations: 163 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.9048, allocations: 48.98 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.9049, allocations: 4 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.9049, allocations: 34.56 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.9049, allocations: 0 / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004044/0.9054, allocations: 118.3 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.9054, allocations: 51.41 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.9055, allocations: 102.9 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.9055, allocations: 25.7 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.9056, allocations: 84.14 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.9056, allocations: 11.81 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.9057, allocations: 0 / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9058, allocations: 318.8 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.9059, allocations: 47.91 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.9061, allocations: 43.97 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.9062, allocations: 35.97 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9062, allocations: 0 / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003134/0.9065, allocations: 114.2 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.9065, allocations: 4 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9066, allocations: 0 / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.9066, allocations: 7.938 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.9071, allocations: 48 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.9071, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.9076, allocations: 43.84 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.9076, allocations: 0 / 1.1 GB, free: 15.95 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 9.543e-05/0.9077, allocations: 110.3 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.9078, allocations: 4.516 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.9079, allocations: 15.98 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9079, allocations: 0 / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9079, allocations: 5.594 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9079, allocations: 1.562 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.9082, allocations: 182.1 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9083, allocations: 0.5156 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.9087, allocations: 55.94 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.9088, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.9088, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9088, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9088, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003737/0.9092, allocations: 212.1 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.9092, allocations: 89 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.9093, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.9098, allocations: 37.84 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.9098, allocations: 7.984 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.9098, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.497e-05/0.9099, allocations: 83.28 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003242/0.9102, allocations: 16 kB / 1.101 GB, free: 15.07 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.0001405/0.9104, allocations: 99.92 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.9107, allocations: 99.88 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9107, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.9109, allocations: 52.8 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.9112, allocations: 7.906 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9123, allocations: 188.3 kB / 1.101 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.9128, allocations: 0.711 MB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.9128, allocations: 0 / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.004329/0.9171, allocations: 1.163 MB / 1.103 GB, free: 12.74 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)