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.01101/0.01102, allocations: 106.9 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.001198/0.001198, allocations: 179.3 kB / 15.94 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/2, 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.466/2.466, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.000486, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6804, allocations: 98.71 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.9625, allocations: 157.5 MB / 0.8372 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005244/0.9631, allocations: 87.95 kB / 0.8373 GB, free: 0.5117 MB / 0.6511 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/DC/Sensors/GeneralizedSensor.mo:39:3-39: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/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/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.1165/1.08, allocations: 17.9 MB / 0.8548 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.666e-06/1.08, allocations: 3.938 kB / 0.8548 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.136e-05/1.08, allocations: 8 kB / 0.8548 GB, free: 14.33 MB / 0.6823 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.002411/1.082, allocations: 0.6627 MB / 0.8555 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.895e-05/1.082, allocations: 8.031 kB / 0.8555 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003106/1.083, allocations: 79.16 kB / 0.8555 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/1.087, allocations: 167.2 kB / 0.8557 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/1.088, allocations: 338.3 kB / 0.856 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/1.088, allocations: 28.98 kB / 0.8561 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.089, allocations: 31.98 kB / 0.8561 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/1.09, allocations: 0.5197 MB / 0.8566 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.09, allocations: 4 kB / 0.8566 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/1.09, allocations: 19.94 kB / 0.8566 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-05/1.09, allocations: 24.64 kB / 0.8566 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.091, allocations: 382.3 kB / 0.857 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004261/1.095, allocations: 2.426 MB / 0.8594 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/1.096, allocations: 254.5 kB / 0.8596 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/1.096, allocations: 4.328 kB / 0.8596 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/1.096, allocations: 38.52 kB / 0.8597 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.756e-06/1.096, allocations: 4 kB / 0.8597 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.003395/1.1, allocations: 1.036 MB / 0.8607 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.1, allocations: 51.41 kB / 0.8607 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/1.1, allocations: 263.7 kB / 0.861 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/1.1, allocations: 25.7 kB / 0.861 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/1.101, allocations: 235.6 kB / 0.8612 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.101, allocations: 78.77 kB / 0.8613 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/1.101, allocations: 12 kB / 0.8613 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.101, allocations: 338.8 kB / 0.8616 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/1.101, allocations: 100.6 kB / 0.8617 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/1.102, allocations: 191.7 kB / 0.8619 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/1.102, allocations: 133.1 kB / 0.862 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/1.102, allocations: 0 / 0.862 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001343/1.103, allocations: 436.8 kB / 0.8625 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.103, allocations: 4.344 kB / 0.8625 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.104, allocations: 11.94 kB / 0.8625 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/1.104, allocations: 90.66 kB / 0.8626 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/1.105, allocations: 63.91 kB / 0.8626 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/1.109, allocations: 4.115 MB / 0.8666 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/1.11, allocations: 15.91 kB / 0.8666 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/1.11, allocations: 8 kB / 0.8667 GB, free: 1.25 MB / 0.6823 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.000339/1.11, allocations: 188.8 kB / 0.8668 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/1.11, allocations: 27.72 kB / 0.8669 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/1.11, allocations: 46.27 kB / 0.8669 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.11, allocations: 0 / 0.8669 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.11, allocations: 4 kB / 0.8669 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.11, allocations: 0 / 0.8669 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/1.111, allocations: 405.3 kB / 0.8673 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.111, allocations: 0 / 0.8673 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/1.112, allocations: 35.91 kB / 0.8673 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00055/1.112, allocations: 90.5 kB / 0.8674 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/1.112, allocations: 8 kB / 0.8674 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004324/1.117, allocations: 4.103 MB / 0.8714 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.117, allocations: 0 / 0.8714 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.118, allocations: 0.5505 MB / 0.872 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/1.118, allocations: 121 kB / 0.8721 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/1.118, allocations: 11.98 kB / 0.8721 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/1.119, allocations: 12 kB / 0.8721 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/1.119, allocations: 23.91 kB / 0.8721 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.119, allocations: 11.94 kB / 0.8721 GB, free: 11.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003454/1.119, allocations: 207.1 kB / 0.8723 GB, free: 10.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.119, allocations: 0 / 0.8723 GB, free: 10.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007249/1.12, allocations: 100 kB / 0.8724 GB, free: 10.82 MB / 0.698 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.00178/1.122, allocations: 1.093 MB / 0.8735 GB, free: 9.695 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.123, allocations: 0.6045 MB / 0.8741 GB, free: 9.055 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.123, allocations: 0 / 0.8741 GB, free: 9.055 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007805/1.124, allocations: 480 kB / 0.8746 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/1.125, allocations: 66 kB / 0.8746 GB, free: 8.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/1.13, allocations: 3.702 MB / 0.8782 GB, free: 4.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/1.131, allocations: 0.8419 MB / 0.8791 GB, free: 3.812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004139/1.131, allocations: 58.94 kB / 0.8791 GB, free: 3.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.132, allocations: 107.4 kB / 0.8792 GB, free: 3.652 MB / 0.698 GB Notification: Performance of SimCode: time 3.727e-06/1.132, allocations: 0 / 0.8792 GB, free: 3.652 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/1.166, allocations: 7.141 MB / 0.8862 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/1.166, allocations: 200.5 kB / 0.8864 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/3.93, allocations: 0 / 0.8864 GB, free: 12.44 MB / 0.7136 GB