Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.159/4.159, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.124e-05, allocations: 5.156 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.4398, allocations: 123.9 MB / 0.7499 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.4401, allocations: 75.94 kB / 0.75 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004816/0.445, allocations: 1.141 MB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.445, allocations: 0 / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.445, allocations: 0 / 0.7511 GB, free: 11.8 MB / 0.6355 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.0004656/0.4455, allocations: 350.4 kB / 0.7515 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.4456, allocations: 12.03 kB / 0.7515 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.447, allocations: 191.6 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4472, allocations: 167.1 kB / 0.7518 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4472, allocations: 0 / 0.7518 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4472, allocations: 3.938 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003357/0.4476, allocations: 119.9 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.4478, allocations: 105.6 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4479, allocations: 0 / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4479, allocations: 0 / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4479, allocations: 0 / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.4493, allocations: 433.6 kB / 0.7524 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.4499, allocations: 158.5 kB / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.4501, allocations: 48.98 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.4501, allocations: 4.062 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4502, allocations: 38.52 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.4502, allocations: 0 / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003522/0.4505, allocations: 105.6 kB / 0.7528 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4506, allocations: 59.33 kB / 0.7528 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.4507, allocations: 104.9 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4507, allocations: 29.64 kB / 0.753 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.4508, allocations: 96.03 kB / 0.7531 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.4509, allocations: 3.906 kB / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.4509, allocations: 0 / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.451, allocations: 314.8 kB / 0.7534 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4511, allocations: 43.97 kB / 0.7534 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.4513, allocations: 39.97 kB / 0.7534 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.4514, allocations: 31.97 kB / 0.7535 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4514, allocations: 4 kB / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002765/0.4517, allocations: 109.5 kB / 0.7536 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4517, allocations: 5.562 kB / 0.7536 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4517, allocations: 0 / 0.7536 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4517, allocations: 3.953 kB / 0.7536 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.4522, allocations: 47.94 kB / 0.7536 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.4522, allocations: 4 kB / 0.7536 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.4526, allocations: 39.89 kB / 0.7537 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4526, allocations: 0 / 0.7537 GB, free: 8.973 MB / 0.6355 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 8.757e-05/0.4527, allocations: 104.9 kB / 0.7538 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002844/0.453, allocations: 105.6 kB / 0.7539 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.4531, allocations: 11.86 kB / 0.7539 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.4531, allocations: 16.33 kB / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4531, allocations: 0 / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4532, allocations: 0 / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4532, allocations: 0 / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.4535, allocations: 182 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4535, allocations: 4 kB / 0.7541 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.4539, allocations: 43.94 kB / 0.7541 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4539, allocations: 0 / 0.7541 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.454, allocations: 11.95 kB / 0.7541 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.454, allocations: 0 / 0.7541 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.454, allocations: 0 / 0.7541 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.4543, allocations: 203.4 kB / 0.7543 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.4544, allocations: 85.02 kB / 0.7544 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.4544, allocations: 4 kB / 0.7544 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.4548, allocations: 43.91 kB / 0.7545 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.4549, allocations: 3.984 kB / 0.7545 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4549, allocations: 0 / 0.7545 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.455, allocations: 87.59 kB / 0.7545 GB, free: 8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.455, allocations: 4 kB / 0.7545 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003083/0.4553, allocations: 12 kB / 0.7546 GB, free: 7.984 MB / 0.6355 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.0006796/0.456, allocations: 0.7281 MB / 0.7553 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.4563, allocations: 88.2 kB / 0.7554 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4563, allocations: 3.938 kB / 0.7554 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.4565, allocations: 51.97 kB / 0.7554 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4567, allocations: 12.17 kB / 0.7554 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4579, allocations: 205.4 kB / 0.7556 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4582, allocations: 0.6926 MB / 0.7563 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.4584, allocations: 23.98 kB / 0.7563 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.4585, allocations: 11.44 kB / 0.7563 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.4585, allocations: 0 / 0.7563 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4947, allocations: 1.224 MB / 0.7575 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.495, allocations: 131.3 kB / 0.7576 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.683, allocations: 0 / 0.7576 GB, free: 4.676 MB / 0.6355 GB