Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",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.01562/0.01562, allocations: 108.2 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.001863/0.001863, allocations: 181.8 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.158/2.158, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.357/2.357, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005245/0.0005248, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8185, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006199/0.8248, allocations: 3.684 MB / 0.687 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00406/0.8289, allocations: 1.715 MB / 0.6887 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.8294, allocations: 9.844 kB / 0.6887 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.8297, allocations: 72.64 kB / 0.6888 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008825/0.8306, allocations: 191.4 kB / 0.689 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.8316, allocations: 190 kB / 0.6891 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009468/0.8326, allocations: 358.4 kB / 0.6895 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.8333, allocations: 387.4 kB / 0.6899 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.8338, allocations: 171.6 kB / 0.69 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.8343, allocations: 182.1 kB / 0.6902 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.8344, allocations: 23.89 kB / 0.6902 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.8349, allocations: 120.4 kB / 0.6903 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.8351, allocations: 113.8 kB / 0.6904 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.8353, allocations: 101.2 kB / 0.6905 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.8362, allocations: 458.3 kB / 0.691 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8362, allocations: 1.188 kB / 0.691 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8362, allocations: 0 / 0.691 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8363, allocations: 3.938 kB / 0.691 GB, free: 12.12 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001655/0.8379, allocations: 0.6596 MB / 0.6916 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.838, allocations: 10.2 kB / 0.6916 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.8381, allocations: 76.94 kB / 0.6917 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.8398, allocations: 163.6 kB / 0.6919 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.8405, allocations: 324.4 kB / 0.6922 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.8406, allocations: 22.75 kB / 0.6922 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/0.8407, allocations: 34.25 kB / 0.6922 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.842, allocations: 0.5255 MB / 0.6927 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.8421, allocations: 1.406 kB / 0.6927 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.8421, allocations: 16.28 kB / 0.6928 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.963e-05/0.8422, allocations: 32.69 kB / 0.6928 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.8433, allocations: 384.5 kB / 0.6932 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.847, allocations: 2.412 MB / 0.6955 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.8479, allocations: 271.8 kB / 0.6958 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.848, allocations: 2.188 kB / 0.6958 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.848, allocations: 37.38 kB / 0.6958 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 3.076e-06/0.848, allocations: 0 / 0.6958 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.003489/0.8515, allocations: 1.121 MB / 0.6969 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.8516, allocations: 54.19 kB / 0.697 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.8521, allocations: 296.9 kB / 0.6972 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.8521, allocations: 31.11 kB / 0.6973 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.8523, allocations: 231.7 kB / 0.6975 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/0.8524, allocations: 84.53 kB / 0.6976 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.8525, allocations: 5 kB / 0.6976 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.8526, allocations: 339.6 kB / 0.6979 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.8529, allocations: 102.5 kB / 0.698 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.8532, allocations: 192.8 kB / 0.6982 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.8536, allocations: 131.5 kB / 0.6983 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.8536, allocations: 1.031 kB / 0.6983 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001263/0.8549, allocations: 436.3 kB / 0.6987 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.8549, allocations: 11.02 kB / 0.6987 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8549, allocations: 6.688 kB / 0.6987 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.8555, allocations: 100.9 kB / 0.6988 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.8561, allocations: 65.02 kB / 0.6989 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.8597, allocations: 4.109 MB / 0.7029 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.8602, allocations: 12.42 kB / 0.7029 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.8602, allocations: 15.06 kB / 0.7029 GB, free: 2.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003584/0.8606, allocations: 180 kB / 0.7031 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.8607, allocations: 40.02 kB / 0.7031 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.8608, allocations: 42.45 kB / 0.7032 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8608, allocations: 2.094 kB / 0.7032 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.8609, allocations: 2.75 kB / 0.7032 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8609, allocations: 0.5625 kB / 0.7032 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.8615, allocations: 408.4 kB / 0.7036 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8616, allocations: 0 / 0.7036 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.8619, allocations: 34.81 kB / 0.7036 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.8624, allocations: 93.81 kB / 0.7037 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.8625, allocations: 5.656 kB / 0.7037 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/0.8665, allocations: 4.105 MB / 0.7077 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8666, allocations: 0 / 0.7077 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.8681, allocations: 0.5558 MB / 0.7083 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.8684, allocations: 123.8 kB / 0.7084 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.8685, allocations: 9.922 kB / 0.7084 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.8688, allocations: 10.75 kB / 0.7084 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.8689, allocations: 20.41 kB / 0.7084 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.869, allocations: 8.5 kB / 0.7084 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003507/0.8693, allocations: 205 kB / 0.7086 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8693, allocations: 0 / 0.7086 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007511/0.8701, allocations: 98.84 kB / 0.7087 GB, free: 12.95 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.8719, allocations: 1.105 MB / 0.7098 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.8734, allocations: 0.6049 MB / 0.7104 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8734, allocations: 0 / 0.7104 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.8743, allocations: 479.7 kB / 0.7108 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.875, allocations: 70.47 kB / 0.7109 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.8809, allocations: 3.698 MB / 0.7145 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.8816, allocations: 0.8476 MB / 0.7153 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.882, allocations: 62.02 kB / 0.7154 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.8823, allocations: 107.5 kB / 0.7155 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/0.8823, allocations: 0 / 0.7155 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.9209, allocations: 7.095 MB / 0.7224 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/0.9213, allocations: 206.5 kB / 0.7226 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.891, allocations: 1 kB / 0.7226 GB, free: 3.559 MB / 0.5417 GB