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.SmoothHeaviside.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01081/0.01081, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001174/0.001174, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.198/2.198, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.173/2.173, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007223/0.0007223, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6789/0.6796, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.9041, allocations: 124.6 MB / 0.8051 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.9045, allocations: 75.95 kB / 0.8051 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00407/0.9086, allocations: 0.9118 MB / 0.806 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9086, allocations: 0 / 0.806 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.9086, allocations: 3.938 kB / 0.806 GB, free: 0.6133 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000468/0.9091, allocations: 351.3 kB / 0.8064 GB, free: 228 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9092, allocations: 8.031 kB / 0.8064 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.9092, allocations: 38.5 kB / 0.8064 GB, free: 172 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.9093, allocations: 3.906 kB / 0.8064 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.9095, allocations: 167 kB / 0.8066 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.9095, allocations: 4 kB / 0.8066 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.9095, allocations: 4 kB / 0.8066 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.9098, allocations: 53.67 kB / 0.8066 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9098, allocations: 0 / 0.8066 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.9098, allocations: 7.938 kB / 0.8066 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9098, allocations: 0 / 0.8066 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.9101, allocations: 43.95 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.9107, allocations: 276.8 kB / 0.8069 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.9109, allocations: 38.56 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.9114, allocations: 202.2 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.9115, allocations: 34.56 kB / 0.8072 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/0.9115, allocations: 0 / 0.8072 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000572/0.9121, allocations: 101.6 kB / 0.8073 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.9121, allocations: 51.41 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.9122, allocations: 105.1 kB / 0.8075 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.9122, allocations: 25.7 kB / 0.8075 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.9123, allocations: 80.14 kB / 0.8076 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9123, allocations: 11.89 kB / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.9124, allocations: 0 / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9125, allocations: 314.8 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.9126, allocations: 19.98 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.9128, allocations: 23.98 kB / 0.8079 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.9129, allocations: 23.97 kB / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.913, allocations: 0 / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003661/0.9133, allocations: 85.58 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9134, allocations: 4 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.9134, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9134, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.9136, allocations: 11.98 kB / 0.808 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.9136, allocations: 0 / 0.808 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.9137, allocations: 16.02 kB / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.9137, allocations: 3.953 kB / 0.8081 GB, free: 14.29 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.551e-05/0.9138, allocations: 113.8 kB / 0.8082 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.9138, allocations: 0 / 0.8082 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.9142, allocations: 84.77 kB / 0.8082 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.9143, allocations: 0 / 0.8082 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.9143, allocations: 3.938 kB / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9143, allocations: 3.984 kB / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.9145, allocations: 169.6 kB / 0.8084 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.9145, allocations: 3.938 kB / 0.8084 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.9146, allocations: 15.92 kB / 0.8084 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9147, allocations: 4.031 kB / 0.8084 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.9147, allocations: 0 / 0.8084 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.9147, allocations: 256 / 0.8084 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9147, allocations: 0 / 0.8084 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.9151, allocations: 175.5 kB / 0.8086 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.9152, allocations: 88.95 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.9152, allocations: 4 kB / 0.8087 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.9153, allocations: 11.98 kB / 0.8087 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.9154, allocations: 0 / 0.8087 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.9154, allocations: 0 / 0.8087 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.9155, allocations: 83.27 kB / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9155, allocations: 32 / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003081/0.9158, allocations: 16 kB / 0.8088 GB, free: 13.43 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007469/0.9165, allocations: 0.7163 MB / 0.8095 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.9169, allocations: 47.95 kB / 0.8095 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9169, allocations: 0 / 0.8095 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.9171, allocations: 28.02 kB / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.9174, allocations: 9.25 kB / 0.8096 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.9179, allocations: 143.7 kB / 0.8097 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.9182, allocations: 0.6809 MB / 0.8104 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.9183, allocations: 8 kB / 0.8104 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.9183, allocations: 11.42 kB / 0.8104 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.9183, allocations: 0 / 0.8104 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.942, allocations: 1.202 MB / 0.8116 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.9424, allocations: 183.7 kB / 0.8117 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.242, allocations: 0 / 0.8117 GB, free: 10.36 MB / 0.6355 GB