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.01063/0.01063, allocations: 108.1 kB / 15.06 MB, free: 6.031 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.001172/0.001172, allocations: 181.8 kB / 15.95 MB, free: 5.957 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.07/2.07, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.371/2.371, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007108/0.0007111, allocations: 20 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.689, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001864/0.6909, allocations: 1.137 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.6913, allocations: 133.1 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.6914, allocations: 0 / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.6914, allocations: 0.75 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.6915, allocations: 1.031 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.6917, allocations: 22.72 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.6918, allocations: 15.31 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.6919, allocations: 8.359 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.6919, allocations: 4.359 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.692, allocations: 17.95 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.692, allocations: 0 / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.6921, allocations: 23.44 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.6921, allocations: 2.906 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.6922, allocations: 31.02 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.6923, allocations: 26.41 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.6923, allocations: 1.469 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6923, allocations: 0 / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.6923, allocations: 0 / 0.6848 GB, free: 15.78 MB / 0.5261 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.0004435/0.6928, allocations: 346.5 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6928, allocations: 10.45 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.6929, allocations: 30.56 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.6929, allocations: 9.609 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.693, allocations: 170.5 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.693, allocations: 5.406 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.6931, allocations: 5.406 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.6933, allocations: 57.06 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6933, allocations: 0 / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6934, allocations: 0 / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.6934, allocations: 2.078 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.6937, allocations: 42.42 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.694, allocations: 251.3 kB / 0.6857 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.6942, allocations: 45.48 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/0.6949, allocations: 216.8 kB / 0.6859 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6949, allocations: 31.72 kB / 0.686 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.6949, allocations: 0 / 0.686 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000572/0.6955, allocations: 98.72 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.6955, allocations: 53.56 kB / 0.6861 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.6956, allocations: 105.3 kB / 0.6862 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.6956, allocations: 31.72 kB / 0.6862 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.6957, allocations: 90.2 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.6957, allocations: 4.516 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.6957, allocations: 3.938 kB / 0.6863 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.6958, allocations: 312.7 kB / 0.6866 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.696, allocations: 23.86 kB / 0.6867 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.6961, allocations: 23.66 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.6963, allocations: 26.08 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6963, allocations: 0.9688 kB / 0.6867 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003355/0.6966, allocations: 80.41 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6967, allocations: 6.891 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.6967, allocations: 0 / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6967, allocations: 0.75 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.6968, allocations: 11.22 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.6968, allocations: 0 / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.6969, allocations: 17.64 kB / 0.6868 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.697, allocations: 0 / 0.6868 GB, free: 13.86 MB / 0.5261 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 7.028e-05/0.697, allocations: 116.7 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.6971, allocations: 2.188 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.6975, allocations: 85.55 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6975, allocations: 5.156 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6975, allocations: 0 / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6975, allocations: 0.875 kB / 0.687 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.6977, allocations: 160.8 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6977, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.6978, allocations: 11.56 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6978, allocations: 4.031 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6978, allocations: 1.984 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6979, allocations: 256 / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6979, allocations: 5.156 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.6982, allocations: 180.2 kB / 0.6874 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.6983, allocations: 82.84 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.6983, allocations: 0.6562 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6984, allocations: 8.984 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.6985, allocations: 3.094 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.6985, allocations: 0 / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.6985, allocations: 85.98 kB / 0.6875 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6986, allocations: 4.031 kB / 0.6875 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003143/0.6989, allocations: 7.875 kB / 0.6876 GB, free: 13.15 MB / 0.5261 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.0006562/0.6995, allocations: 0.7189 MB / 0.6883 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.6999, allocations: 45.17 kB / 0.6883 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6999, allocations: 4.031 kB / 0.6883 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.7001, allocations: 29.53 kB / 0.6883 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.7004, allocations: 11.11 kB / 0.6883 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.7009, allocations: 140.2 kB / 0.6885 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.701, allocations: 0.6881 MB / 0.6891 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.7011, allocations: 1.438 kB / 0.6892 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.7011, allocations: 9.812 kB / 0.6892 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/0.7011, allocations: 0 / 0.6892 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.7262, allocations: 1.223 MB / 0.6904 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.7265, allocations: 189.8 kB / 0.6905 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.169, allocations: 0 / 0.6905 GB, free: 11.15 MB / 0.5261 GB