Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.01094/0.01094, allocations: 107.9 kB / 15.06 MB, free: 5.555 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.001207/0.001207, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.128/2.128, allocations: 194.5 MB / 211.2 MB, free: 11.03 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.445/2.445, allocations: 236.2 MB / 492.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004793, allocations: 20 kB / 0.5871 GB, free: 2.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6699, allocations: 98.71 MB / 0.6835 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0008767/0.6709, allocations: 318.3 kB / 0.6838 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 4.42e-05/0.671, allocations: 1.062 kB / 0.6838 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.671, allocations: 0 / 0.6838 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.671, allocations: 1.062 kB / 0.6838 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.688e-05/0.671, allocations: 0 / 0.6838 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 3.042e-05/0.6711, allocations: 4 kB / 0.6838 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.6711, allocations: 1.062 kB / 0.6838 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.6712, allocations: 9.844 kB / 0.6838 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.6712, allocations: 0 / 0.6838 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.035e-05/0.6713, allocations: 5.766 kB / 0.6838 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.6713, allocations: 0 / 0.6838 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-06/0.6713, allocations: 0 / 0.6838 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.6713, allocations: 1.094 kB / 0.6838 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.6713, allocations: 29.64 kB / 0.6838 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 4.41e-05/0.6714, allocations: 2.781 kB / 0.6838 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.6714, allocations: 3.938 kB / 0.6838 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6714, allocations: 3.938 kB / 0.6838 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.6714, allocations: 5.125 kB / 0.6838 GB, free: 16.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000232/0.6717, allocations: 307.8 kB / 0.6841 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6717, allocations: 8.562 kB / 0.6841 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.6718, allocations: 31.94 kB / 0.6842 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.6718, allocations: 4 kB / 0.6842 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.6719, allocations: 165.4 kB / 0.6843 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.6719, allocations: 0 / 0.6843 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.6719, allocations: 0.9375 kB / 0.6843 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.127e-05/0.672, allocations: 32.47 kB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.672, allocations: 0 / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.6721, allocations: 0 / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6721, allocations: 1.094 kB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.6721, allocations: 5.609 kB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.6724, allocations: 384.8 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.6724, allocations: 170.1 kB / 0.6849 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.6725, allocations: 77.12 kB / 0.685 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6725, allocations: 106.5 kB / 0.6851 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.6725, allocations: 0 / 0.6851 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.602e-05/0.6726, allocations: 36.45 kB / 0.6851 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6726, allocations: 126.7 kB / 0.6852 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.6727, allocations: 102.4 kB / 0.6853 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.6727, allocations: 26.45 kB / 0.6853 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.6728, allocations: 81.05 kB / 0.6854 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.6728, allocations: 0 / 0.6854 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-07/0.6728, allocations: 0 / 0.6854 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.6728, allocations: 316.8 kB / 0.6857 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.6729, allocations: 0 / 0.6857 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.6729, allocations: 1.094 kB / 0.6857 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.589e-05/0.6729, allocations: 75.28 kB / 0.6858 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.6729, allocations: 79.41 kB / 0.6859 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.778e-05/0.673, allocations: 33.78 kB / 0.6859 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.673, allocations: 82.95 kB / 0.686 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.673, allocations: 76.72 kB / 0.6861 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/0.6731, allocations: 155.7 kB / 0.6862 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.534e-05/0.6731, allocations: 80.56 kB / 0.6863 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/0.6732, allocations: 152.6 kB / 0.6864 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.6732, allocations: 91.17 kB / 0.6865 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.6733, allocations: 81.27 kB / 0.6866 GB, free: 13.61 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 (0): * Single equations (assignments): 0 * 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.96e-05/0.6733, allocations: 259 kB / 0.6868 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.6734, allocations: 106.4 kB / 0.6869 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.6734, allocations: 106.8 kB / 0.687 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.6735, allocations: 186.3 kB / 0.6872 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-05/0.6735, allocations: 185 kB / 0.6874 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/0.6736, allocations: 178.6 kB / 0.6876 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.6737, allocations: 405.2 kB / 0.688 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.6738, allocations: 103 kB / 0.688 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.6738, allocations: 101.7 kB / 0.6881 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.573e-05/0.6739, allocations: 190.9 kB / 0.6883 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.6739, allocations: 182 kB / 0.6885 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.472e-05/0.6739, allocations: 182 kB / 0.6887 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.213e-05/0.674, allocations: 178.3 kB / 0.6888 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.978e-05/0.6741, allocations: 313.1 kB / 0.6891 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.6741, allocations: 184.8 kB / 0.6893 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.6742, allocations: 186.3 kB / 0.6895 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.6743, allocations: 102.8 kB / 0.6896 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.6743, allocations: 181.9 kB / 0.6898 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.6744, allocations: 114.8 kB / 0.6899 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.6744, allocations: 78.08 kB / 0.69 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6744, allocations: 0 / 0.69 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003109/0.6747, allocations: 1.062 kB / 0.69 GB, free: 9.988 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 (0): * Single equations (assignments): 0 * 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.0003165/0.6751, allocations: 0.8156 MB / 0.6908 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.502e-05/0.6751, allocations: 1.25 kB / 0.6908 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6751, allocations: 0 / 0.6908 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.6751, allocations: 0 / 0.6908 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.6754, allocations: 0.5207 MB / 0.6913 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.676, allocations: 0.5021 MB / 0.6918 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.6761, allocations: 0.6741 MB / 0.6924 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.698e-06/0.6762, allocations: 0.7031 kB / 0.6924 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.6762, allocations: 7.438 kB / 0.6924 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.6762, allocations: 0 / 0.6924 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.6969, allocations: 0.733 MB / 0.6931 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.6972, allocations: 200.9 kB / 0.6933 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.955, allocations: 0 / 0.6933 GB, free: 7.004 MB / 0.5261 GB