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/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.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.272/4.272, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.313e-05, allocations: 3.469 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2173, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2673/0.4847, allocations: 150 MB / 0.7754 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/0.4851, allocations: 87.95 kB / 0.7755 GB, free: 2.82 MB / 0.6511 GB [/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/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/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.5807/1.066, allocations: 15.99 MB / 0.7911 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/1.066, allocations: 0 / 0.7911 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.468e-05/1.066, allocations: 5.531 kB / 0.7911 GB, free: 146.4 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.001069/1.067, allocations: 0.5502 MB / 0.7916 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.067, allocations: 9.375 kB / 0.7916 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/1.069, allocations: 143.6 kB / 0.7918 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/1.069, allocations: 290.1 kB / 0.7921 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.069, allocations: 9.594 kB / 0.7921 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/1.069, allocations: 19.75 kB / 0.7921 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007573/1.07, allocations: 273.4 kB / 0.7923 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/1.071, allocations: 406.2 kB / 0.7927 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/1.071, allocations: 1.438 kB / 0.7927 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/1.071, allocations: 1.375 kB / 0.7927 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.544e-05/1.071, allocations: 25.5 kB / 0.7928 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/1.074, allocations: 2.109 MB / 0.7948 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/1.074, allocations: 237.6 kB / 0.795 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/1.075, allocations: 106.7 kB / 0.7951 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1.075, allocations: 6.719 kB / 0.7952 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.075, allocations: 31.78 kB / 0.7952 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 4.729e-06/1.075, allocations: 3.984 kB / 0.7952 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0005214/1.075, allocations: 155.6 kB / 0.7953 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/1.075, allocations: 53.47 kB / 0.7954 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/1.076, allocations: 189.6 kB / 0.7956 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/1.076, allocations: 25.7 kB / 0.7956 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.076, allocations: 217 kB / 0.7958 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/1.076, allocations: 46.41 kB / 0.7958 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/1.076, allocations: 0 / 0.7958 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/1.076, allocations: 331.2 kB / 0.7962 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.076, allocations: 53.55 kB / 0.7962 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/1.076, allocations: 135.3 kB / 0.7963 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/1.077, allocations: 69.62 kB / 0.7964 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.077, allocations: 1.25 kB / 0.7964 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005906/1.077, allocations: 233.1 kB / 0.7966 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.077, allocations: 9 kB / 0.7966 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.077, allocations: 3.625 kB / 0.7966 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/1.078, allocations: 27.44 kB / 0.7967 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/1.078, allocations: 54 kB / 0.7967 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/1.079, allocations: 1.255 MB / 0.7979 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/1.079, allocations: 22.64 kB / 0.798 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/1.079, allocations: 11.94 kB / 0.798 GB, free: 141.5 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.0001057/1.079, allocations: 120 kB / 0.7981 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003571/1.08, allocations: 154.3 kB / 0.7982 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/1.08, allocations: 17.78 kB / 0.7983 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/1.08, allocations: 29.52 kB / 0.7983 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.08, allocations: 1.219 kB / 0.7983 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.08, allocations: 9.219 kB / 0.7983 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.08, allocations: 3.938 kB / 0.7983 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/1.081, allocations: 0.6367 MB / 0.7989 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.081, allocations: 1.219 kB / 0.7989 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.081, allocations: 22.7 kB / 0.7989 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/1.082, allocations: 25.56 kB / 0.799 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.082, allocations: 1.406 kB / 0.799 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009353/1.083, allocations: 1.259 MB / 0.8002 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.083, allocations: 1.375 kB / 0.8002 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/1.083, allocations: 380.3 kB / 0.8006 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.083, allocations: 107.9 kB / 0.8007 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/1.083, allocations: 6.703 kB / 0.8007 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/1.084, allocations: 7.156 kB / 0.8007 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/1.084, allocations: 26.53 kB / 0.8007 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/1.084, allocations: 9.688 kB / 0.8007 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001735/1.084, allocations: 146.8 kB / 0.8009 GB, free: 139 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.084, allocations: 1.031 kB / 0.8009 GB, free: 139 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006996/1.085, allocations: 71.25 kB / 0.8009 GB, free: 139 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.0007138/1.085, allocations: 1.313 MB / 0.8022 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006029/1.086, allocations: 252.2 kB / 0.8024 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.086, allocations: 2.219 kB / 0.8024 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/1.086, allocations: 172.9 kB / 0.8026 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/1.087, allocations: 43.45 kB / 0.8027 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/1.088, allocations: 439.6 kB / 0.8031 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/1.088, allocations: 0.7979 MB / 0.8039 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002566/1.089, allocations: 41.84 kB / 0.8039 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.089, allocations: 78.03 kB / 0.804 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.089, allocations: 0 / 0.804 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/1.133, allocations: 4.016 MB / 0.8079 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.134, allocations: 136.3 kB / 0.808 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.786, allocations: 0 / 0.808 GB, free: 134.1 MB / 0.6511 GB