Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.248/4.248, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.427e-05, allocations: 4.281 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8505/1.076, allocations: 150.7 MB / 0.7819 GB, free: 57.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/1.076, allocations: 87.61 kB / 0.7819 GB, free: 57.6 MB / 0.6511 GB [/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/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/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.06365/1.14, allocations: 16.06 MB / 0.7976 GB, free: 55.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.974e-06/1.14, allocations: 0 / 0.7976 GB, free: 55.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.723e-05/1.14, allocations: 15.03 kB / 0.7976 GB, free: 55.9 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001135/1.141, allocations: 0.5483 MB / 0.7982 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.141, allocations: 8.844 kB / 0.7982 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/1.142, allocations: 67.41 kB / 0.7982 GB, free: 55.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/1.143, allocations: 140 kB / 0.7984 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/1.144, allocations: 291.7 kB / 0.7987 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/1.144, allocations: 23.16 kB / 0.7987 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/1.144, allocations: 29.66 kB / 0.7987 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.145, allocations: 448.6 kB / 0.7991 GB, free: 55.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/1.145, allocations: 5.359 kB / 0.7991 GB, free: 55.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/1.145, allocations: 10.25 kB / 0.7991 GB, free: 55.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/1.145, allocations: 26.41 kB / 0.7992 GB, free: 55.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/1.146, allocations: 320.5 kB / 0.7995 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/1.149, allocations: 2.18 MB / 0.8016 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/1.149, allocations: 245.5 kB / 0.8018 GB, free: 53.17 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/1.15, allocations: 117.4 kB / 0.802 GB, free: 53.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/1.15, allocations: 3.438 kB / 0.802 GB, free: 53.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.15, allocations: 31.78 kB / 0.802 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.926e-06/1.15, allocations: 1.094 kB / 0.802 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0005276/1.15, allocations: 164.6 kB / 0.8021 GB, free: 53.06 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.151, allocations: 57.53 kB / 0.8022 GB, free: 53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/1.151, allocations: 237.3 kB / 0.8024 GB, free: 52.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/1.151, allocations: 26.95 kB / 0.8025 GB, free: 52.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/1.151, allocations: 208.9 kB / 0.8027 GB, free: 52.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/1.151, allocations: 48.17 kB / 0.8027 GB, free: 52.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/1.151, allocations: 4.719 kB / 0.8027 GB, free: 52.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/1.151, allocations: 333.8 kB / 0.803 GB, free: 52.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.151, allocations: 53.16 kB / 0.8031 GB, free: 52.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.152, allocations: 140.2 kB / 0.8032 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/1.152, allocations: 81.08 kB / 0.8033 GB, free: 52.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.152, allocations: 1.469 kB / 0.8033 GB, free: 52.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005986/1.152, allocations: 257.7 kB / 0.8035 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.152, allocations: 10.25 kB / 0.8035 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.152, allocations: 3.25 kB / 0.8035 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/1.153, allocations: 34.11 kB / 0.8036 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/1.153, allocations: 48.83 kB / 0.8036 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.154, allocations: 1.335 MB / 0.8049 GB, free: 50.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/1.155, allocations: 23.94 kB / 0.8049 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.155, allocations: 7.5 kB / 0.805 GB, free: 50.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0001001/1.155, allocations: 124.4 kB / 0.8051 GB, free: 50.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/1.155, allocations: 24.62 kB / 0.8051 GB, free: 50.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/1.155, allocations: 30.08 kB / 0.8051 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.155, allocations: 1.844 kB / 0.8051 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.155, allocations: 3.953 kB / 0.8051 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.155, allocations: 0 / 0.8051 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.156, allocations: 0.6976 MB / 0.8058 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.156, allocations: 1.656 kB / 0.8058 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/1.156, allocations: 24.98 kB / 0.8058 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/1.156, allocations: 28.53 kB / 0.8059 GB, free: 50.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/1.156, allocations: 6.812 kB / 0.8059 GB, free: 50.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000964/1.157, allocations: 1.315 MB / 0.8072 GB, free: 49.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.157, allocations: 1.344 kB / 0.8072 GB, free: 49.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/1.158, allocations: 381.6 kB / 0.8075 GB, free: 48.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.158, allocations: 120.1 kB / 0.8076 GB, free: 48.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/1.158, allocations: 3.375 kB / 0.8076 GB, free: 48.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/1.158, allocations: 18.3 kB / 0.8077 GB, free: 48.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/1.159, allocations: 18.38 kB / 0.8077 GB, free: 48.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/1.159, allocations: 9 kB / 0.8077 GB, free: 48.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002527/1.159, allocations: 183.9 kB / 0.8079 GB, free: 48.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.159, allocations: 1.469 kB / 0.8079 GB, free: 48.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005483/1.159, allocations: 78.88 kB / 0.8079 GB, free: 48.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0007082/1.16, allocations: 1.329 MB / 0.8092 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006306/1.161, allocations: 264 kB / 0.8095 GB, free: 47.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.161, allocations: 3.562 kB / 0.8095 GB, free: 47.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/1.161, allocations: 184.2 kB / 0.8097 GB, free: 47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/1.162, allocations: 61.41 kB / 0.8097 GB, free: 47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.163, allocations: 461 kB / 0.8102 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.163, allocations: 0.7996 MB / 0.8109 GB, free: 46.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002663/1.163, allocations: 46 kB / 0.811 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/1.164, allocations: 81.41 kB / 0.8111 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/1.164, allocations: 0 / 0.8111 GB, free: 46.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/1.2, allocations: 4.907 MB / 0.8159 GB, free: 45.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.2, allocations: 173.2 kB / 0.816 GB, free: 45.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.805, allocations: 3.906 kB / 0.816 GB, free: 45.35 MB / 0.6511 GB