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"}) [: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 loadModel(Buildings): time 4.44/4.44, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5614/5.001, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/5.253, allocations: 98.72 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.26/5.513, allocations: 123.9 MB / 0.7493 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.513, allocations: 79.59 kB / 0.7493 GB, free: 13.71 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.005725/5.519, allocations: 1.193 MB / 0.7505 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/5.519, allocations: 12 kB / 0.7505 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/5.521, allocations: 167.7 kB / 0.7507 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/5.521, allocations: 171 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/5.521, allocations: 4 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/5.521, allocations: 7.906 kB / 0.7508 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005453/5.522, allocations: 135.8 kB / 0.751 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/5.522, allocations: 105.6 kB / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/5.522, allocations: 0 / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/5.522, allocations: 0 / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/5.522, allocations: 0 / 0.7511 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/5.524, allocations: 437.8 kB / 0.7515 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/5.524, allocations: 170.3 kB / 0.7516 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/5.525, allocations: 48.98 kB / 0.7517 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/5.525, allocations: 8 kB / 0.7517 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/5.525, allocations: 34.56 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/5.525, allocations: 0 / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004149/5.525, allocations: 105.6 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/5.525, allocations: 51.41 kB / 0.7519 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/5.525, allocations: 101 kB / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/5.525, allocations: 25.7 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/5.525, allocations: 95.98 kB / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/5.525, allocations: 15.83 kB / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/5.525, allocations: 0 / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001282/5.526, allocations: 314.8 kB / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/5.526, allocations: 43.97 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/5.526, allocations: 43.97 kB / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/5.526, allocations: 44.09 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/5.526, allocations: 0 / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/5.526, allocations: 105.6 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/5.526, allocations: 4 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/5.526, allocations: 4 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/5.526, allocations: 0 / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/5.527, allocations: 47.95 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/5.527, allocations: 0 / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/5.527, allocations: 43.86 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/5.527, allocations: 0 / 0.7527 GB, free: 10.01 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 0.0001067/5.528, allocations: 109 kB / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/5.528, allocations: 11.83 kB / 0.7528 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/5.528, allocations: 8 kB / 0.7529 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/5.528, allocations: 4 kB / 0.7529 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/5.528, allocations: 0 / 0.7529 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/5.528, allocations: 0 / 0.7529 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/5.528, allocations: 193.9 kB / 0.753 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/5.528, allocations: 7.984 kB / 0.7531 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/5.529, allocations: 47.95 kB / 0.7531 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/5.529, allocations: 3.906 kB / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/5.529, allocations: 0 / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/5.529, allocations: 3.938 kB / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.529, allocations: 0 / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003885/5.529, allocations: 215.4 kB / 0.7533 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005371/5.53, allocations: 0.574 MB / 0.7539 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/5.53, allocations: 77.11 kB / 0.7539 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/5.53, allocations: 0 / 0.7539 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/5.53, allocations: 39.95 kB / 0.754 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/5.53, allocations: 11.92 kB / 0.754 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/5.53, allocations: 0 / 0.754 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.804e-05/5.53, allocations: 91.34 kB / 0.7541 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001153/5.532, allocations: 19.91 kB / 0.7541 GB, free: 8.508 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.0001694/5.532, allocations: 95.25 kB / 0.7542 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003617/5.532, allocations: 95.92 kB / 0.7543 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/5.532, allocations: 0 / 0.7543 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/5.532, allocations: 55.91 kB / 0.7543 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/5.533, allocations: 0 / 0.7543 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/5.534, allocations: 187.6 kB / 0.7545 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/5.534, allocations: 0.711 MB / 0.7552 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of SimCode: time 1.213e-06/5.534, allocations: 0 / 0.7552 GB, free: 7.316 MB / 0.6355 GB