Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001055/0.001055, allocations: 189.2 kB / 366.3 MB, free: 2.023 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.203/1.203, allocations: 205.1 MB / 0.6256 GB, free: 7.496 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.0008072/0.0008072, allocations: 91.69 kB / 0.7396 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.663e-06, allocations: 0 / 0.859 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4824, allocations: 116.3 MB / 0.9725 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.6226, allocations: 138.3 MB / 1.108 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.6229, allocations: 75.94 kB / 1.108 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003125/0.626, allocations: 0.851 MB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.6261, allocations: 0 / 1.109 GB, free: 11.32 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.000339/0.6264, allocations: 351.9 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6264, allocations: 9.906 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.6273, allocations: 171.8 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.6274, allocations: 171.7 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.6274, allocations: 4 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.6274, allocations: 0.7812 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002123/0.6277, allocations: 119.9 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.6278, allocations: 114.2 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6279, allocations: 0.875 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.6279, allocations: 1.219 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6279, allocations: 0.625 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.6288, allocations: 449 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.6292, allocations: 162.5 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.6293, allocations: 56.88 kB / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.6293, allocations: 0 / 1.11 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.6293, allocations: 34.56 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.6293, allocations: 0 / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002666/0.6296, allocations: 113.5 kB / 1.11 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.6296, allocations: 51.41 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.6297, allocations: 103.5 kB / 1.11 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.6297, allocations: 29.69 kB / 1.11 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.6298, allocations: 88.14 kB / 1.11 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.6298, allocations: 9.219 kB / 1.11 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.6298, allocations: 0 / 1.11 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.6299, allocations: 318.8 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.63, allocations: 47.91 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.6301, allocations: 51.91 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.6301, allocations: 27.98 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6301, allocations: 4 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001766/0.6303, allocations: 109.5 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.6303, allocations: 4 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6303, allocations: 7.984 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.6304, allocations: 0 / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.6306, allocations: 44.89 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.6306, allocations: 0 / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.6309, allocations: 47.89 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.6309, allocations: 4 kB / 1.111 GB, free: 8.492 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.948e-05/0.631, allocations: 101.9 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.631, allocations: 3.906 kB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.631, allocations: 12 kB / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6311, allocations: 0 / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.6311, allocations: 0 / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.6311, allocations: 4 kB / 1.111 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.6313, allocations: 195.4 kB / 1.111 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6313, allocations: 0 / 1.111 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.6315, allocations: 47.89 kB / 1.111 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6315, allocations: 0 / 1.111 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6316, allocations: 5.016 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6316, allocations: 0 / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6316, allocations: 4 kB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002117/0.6318, allocations: 207.4 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.6318, allocations: 81.02 kB / 1.112 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.6319, allocations: 5.875 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.6321, allocations: 39.95 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.6321, allocations: 3.984 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.6322, allocations: 0 / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.533e-05/0.6322, allocations: 87.28 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002381/0.6324, allocations: 16 kB / 1.112 GB, free: 7.609 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.0001056/0.6326, allocations: 95.81 kB / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.6327, allocations: 103.8 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6327, allocations: 0 / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.6328, allocations: 47.97 kB / 1.112 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.633, allocations: 9.5 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.6336, allocations: 194.4 kB / 1.112 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.6339, allocations: 0.7079 MB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6339, allocations: 0 / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.002745/0.6367, allocations: 1.165 MB / 1.114 GB, free: 5.27 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)