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.Resistance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.411/4.411, allocations: 433.2 MB / 440.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.256e-05, allocations: 4 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7717, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/1.059, allocations: 149.9 MB / 0.7752 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.059, allocations: 87.95 kB / 0.7753 GB, free: 9.566 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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/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/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.0438/1.103, allocations: 11.22 MB / 0.7863 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.543e-06/1.103, allocations: 0 / 0.7863 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.078e-05/1.103, allocations: 11.98 kB / 0.7863 GB, free: 14.17 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008213/1.104, allocations: 474.2 kB / 0.7867 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.104, allocations: 8.031 kB / 0.7867 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/1.105, allocations: 83.64 kB / 0.7868 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/1.105, allocations: 246.6 kB / 0.7871 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.105, allocations: 11.94 kB / 0.7871 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/1.105, allocations: 8 kB / 0.7871 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005083/1.106, allocations: 164.8 kB / 0.7872 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/1.106, allocations: 258.8 kB / 0.7875 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.106, allocations: 0 / 0.7875 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.107, allocations: 4 kB / 0.7875 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/1.107, allocations: 24.31 kB / 0.7875 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/1.109, allocations: 1.411 MB / 0.7889 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/1.109, allocations: 163.7 kB / 0.789 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/1.109, allocations: 36.8 kB / 0.7891 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/1.109, allocations: 0 / 0.7891 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.109, allocations: 38.55 kB / 0.7891 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.109, allocations: 4 kB / 0.7891 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0003677/1.11, allocations: 98.34 kB / 0.7892 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.11, allocations: 59.36 kB / 0.7893 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/1.11, allocations: 158 kB / 0.7894 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/1.11, allocations: 25.7 kB / 0.7894 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.11, allocations: 171.6 kB / 0.7896 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.11, allocations: 23.66 kB / 0.7896 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/1.11, allocations: 0 / 0.7896 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.11, allocations: 326.8 kB / 0.7899 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/1.11, allocations: 35.92 kB / 0.79 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.111, allocations: 92.58 kB / 0.7901 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/1.111, allocations: 47.92 kB / 0.7901 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.111, allocations: 0 / 0.7901 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004177/1.111, allocations: 166.3 kB / 0.7903 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.111, allocations: 9.406 kB / 0.7903 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.111, allocations: 0 / 0.7903 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/1.111, allocations: 28.84 kB / 0.7903 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.112, allocations: 31.97 kB / 0.7903 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/1.113, allocations: 1.262 MB / 0.7916 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/1.113, allocations: 15.91 kB / 0.7916 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/1.113, allocations: 15.94 kB / 0.7916 GB, free: 8.223 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.113, allocations: 110.8 kB / 0.7917 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002683/1.114, allocations: 110.5 kB / 0.7918 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/1.114, allocations: 19.77 kB / 0.7918 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/1.114, allocations: 13.84 kB / 0.7918 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.114, allocations: 0 / 0.7918 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.114, allocations: 0 / 0.7918 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.114, allocations: 0 / 0.7918 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/1.114, allocations: 403.8 kB / 0.7922 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.114, allocations: 0 / 0.7922 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/1.115, allocations: 8 kB / 0.7922 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/1.115, allocations: 20.84 kB / 0.7923 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/1.115, allocations: 0 / 0.7923 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/1.116, allocations: 1.256 MB / 0.7935 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.116, allocations: 0 / 0.7935 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/1.116, allocations: 208.1 kB / 0.7937 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/1.116, allocations: 101.1 kB / 0.7938 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/1.116, allocations: 0 / 0.7938 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/1.117, allocations: 4 kB / 0.7938 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/1.117, allocations: 7.984 kB / 0.7938 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.117, allocations: 4 kB / 0.7938 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001425/1.117, allocations: 124.3 kB / 0.7939 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.117, allocations: 0 / 0.7939 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004879/1.117, allocations: 47.84 kB / 0.794 GB, free: 5.594 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006489/1.118, allocations: 0.7446 MB / 0.7947 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000452/1.118, allocations: 194 kB / 0.7949 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.118, allocations: 4.188 kB / 0.7949 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/1.119, allocations: 137.8 kB / 0.795 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/1.119, allocations: 19.98 kB / 0.795 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/1.12, allocations: 267.1 kB / 0.7953 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/1.12, allocations: 0.7553 MB / 0.796 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001706/1.121, allocations: 25.2 kB / 0.796 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/1.121, allocations: 55.59 kB / 0.7961 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of SimCode: time 8.91e-07/1.121, allocations: 0 / 0.7961 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04358/1.164, allocations: 2.717 MB / 0.7987 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.165, allocations: 137.6 kB / 0.7989 GB, free: 412 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.535, allocations: 4.031 kB / 0.7989 GB, free: 408 kB / 0.6667 GB