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.DCLine.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.DCLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",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.01653/0.01653, allocations: 105 kB / 15.05 MB, free: 5.93 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.001868/0.001868, allocations: 187.5 kB / 15.95 MB, free: 5.895 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.078/2.078, 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.339/2.339, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.6633, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.9556, allocations: 166.9 MB / 0.8465 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/0.9561, allocations: 87.95 kB / 0.8465 GB, free: 7.074 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1505/1.107, allocations: 36.94 MB / 0.8826 GB, free: 1.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.826e-06/1.107, allocations: 0 / 0.8826 GB, free: 1.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.765e-05/1.107, allocations: 16 kB / 0.8826 GB, free: 1.59 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003039/1.11, allocations: 1.005 MB / 0.8836 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.11, allocations: 12.03 kB / 0.8836 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000402/1.11, allocations: 106.5 kB / 0.8837 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/1.116, allocations: 0.6232 MB / 0.8843 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/1.118, allocations: 0.5909 MB / 0.8849 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/1.118, allocations: 41.31 kB / 0.885 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/1.118, allocations: 48 kB / 0.885 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/1.122, allocations: 1.029 MB / 0.886 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/1.122, allocations: 0 / 0.886 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/1.122, allocations: 20 kB / 0.886 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-05/1.122, allocations: 41.28 kB / 0.8861 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/1.127, allocations: 1.008 MB / 0.887 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/1.134, allocations: 3.559 MB / 0.8905 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.137, allocations: 0.5212 MB / 0.891 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/1.137, allocations: 4 kB / 0.891 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.137, allocations: 38.56 kB / 0.8911 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.906e-06/1.137, allocations: 0 / 0.8911 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.01287/1.15, allocations: 2.282 MB / 0.8933 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/1.15, allocations: 140.5 kB / 0.8934 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.151, allocations: 0.5031 MB / 0.8939 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/1.151, allocations: 33.7 kB / 0.894 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/1.152, allocations: 348.2 kB / 0.8943 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/1.152, allocations: 149.8 kB / 0.8944 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/1.152, allocations: 12 kB / 0.8944 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.152, allocations: 374.7 kB / 0.8948 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.153, allocations: 276.9 kB / 0.8951 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/1.155, allocations: 400.4 kB / 0.8955 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/1.156, allocations: 313.4 kB / 0.8957 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/1.156, allocations: 0 / 0.8957 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00432/1.161, allocations: 0.9589 MB / 0.8967 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005489/1.161, allocations: 1.218 MB / 0.8979 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.161, allocations: 4 kB / 0.8979 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/1.163, allocations: 252.9 kB / 0.8981 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.164, allocations: 131.8 kB / 0.8982 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/1.171, allocations: 5.967 MB / 0.9041 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.172, allocations: 60 kB / 0.9041 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/1.172, allocations: 23.94 kB / 0.9042 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.172, allocations: 4 kB / 0.9042 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004122/1.177, allocations: 1.077 MB / 0.9052 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.177, allocations: 7.953 kB / 0.9052 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.178, allocations: 201.4 kB / 0.9054 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.179, allocations: 135.8 kB / 0.9055 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5789/1.758, allocations: 8.204 MB / 0.9135 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.759, allocations: 56.41 kB / 0.9136 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/1.759, allocations: 19.19 kB / 0.9136 GB, free: 187.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006527/1.76, allocations: 318.7 kB / 0.9139 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.76, allocations: 67.92 kB / 0.914 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/1.76, allocations: 77.58 kB / 0.9141 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.76, allocations: 6.219 kB / 0.9141 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.761, allocations: 2.578 kB / 0.9141 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.761, allocations: 5.391 kB / 0.9141 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/1.762, allocations: 0.6505 MB / 0.9147 GB, free: 187.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.762, allocations: 0.5156 kB / 0.9147 GB, free: 187.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.763, allocations: 100.3 kB / 0.9148 GB, free: 187.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/1.765, allocations: 242.7 kB / 0.915 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.717e-05/1.765, allocations: 16.84 kB / 0.9151 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/1.774, allocations: 8.474 MB / 0.9233 GB, free: 179.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.774, allocations: 0 / 0.9233 GB, free: 179.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.778, allocations: 0.9517 MB / 0.9243 GB, free: 179.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/1.779, allocations: 184.5 kB / 0.9244 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.779, allocations: 8.875 kB / 0.9244 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/1.78, allocations: 54.03 kB / 0.9245 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.78, allocations: 40.06 kB / 0.9245 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/1.78, allocations: 16.3 kB / 0.9246 GB, free: 179.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000853/1.781, allocations: 400.9 kB / 0.9249 GB, free: 179.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.01e-07/1.781, allocations: 0 / 0.9249 GB, free: 179.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001792/1.783, allocations: 301.1 kB / 0.9252 GB, free: 179.3 MB / 0.7292 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 (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004829/1.787, allocations: 1.518 MB / 0.9267 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006487/1.794, allocations: 2.084 MB / 0.9287 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.794, allocations: 7.219 kB / 0.9287 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/1.797, allocations: 1.018 MB / 0.9297 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.798, allocations: 205.4 kB / 0.9299 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/1.813, allocations: 6.275 MB / 0.9361 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/1.814, allocations: 0.989 MB / 0.937 GB, free: 172.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001227/1.815, allocations: 150.8 kB / 0.9372 GB, free: 172.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/1.816, allocations: 236.8 kB / 0.9374 GB, free: 172.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.172e-06/1.816, allocations: 1.094 kB / 0.9374 GB, free: 172.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06977/1.886, allocations: 18.38 MB / 0.9553 GB, free: 172.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.886, allocations: 205.6 kB / 0.9555 GB, free: 171.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/5.204, allocations: 0 / 0.9555 GB, free: 171.8 MB / 0.7292 GB