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 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.Loads.Examples.Resistor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.01052/0.01052, allocations: 107.1 kB / 15.05 MB, free: 6.055 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.00114/0.00114, allocations: 186.9 kB / 15.95 MB, free: 5.977 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.09/2.09, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.397/2.397, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006487/0.0006488, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6944, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.9761, allocations: 150.8 MB / 0.8307 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003707/0.9766, allocations: 91.95 kB / 0.8308 GB, free: 7.363 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.06492/1.041, allocations: 16.18 MB / 0.8466 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.334e-06/1.042, allocations: 0 / 0.8466 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.565e-05/1.042, allocations: 4 kB / 0.8466 GB, free: 6.953 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001313/1.043, allocations: 0.5885 MB / 0.8471 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.043, allocations: 12.03 kB / 0.8471 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/1.043, allocations: 66.55 kB / 0.8472 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/1.045, allocations: 139.5 kB / 0.8473 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/1.045, allocations: 290.4 kB / 0.8476 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/1.045, allocations: 20.66 kB / 0.8476 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/1.046, allocations: 31.98 kB / 0.8477 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.047, allocations: 447.6 kB / 0.8481 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.047, allocations: 0 / 0.8481 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/1.047, allocations: 19.98 kB / 0.8481 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-05/1.047, allocations: 28.48 kB / 0.8481 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/1.048, allocations: 321.9 kB / 0.8484 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/1.051, allocations: 2.192 MB / 0.8506 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/1.052, allocations: 251.7 kB / 0.8508 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/1.052, allocations: 0 / 0.8508 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.052, allocations: 38.56 kB / 0.8509 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/1.052, allocations: 0 / 0.8509 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0008931/1.053, allocations: 311.6 kB / 0.8512 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.053, allocations: 59.34 kB / 0.8512 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/1.053, allocations: 233.8 kB / 0.8514 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/1.053, allocations: 25.7 kB / 0.8515 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.053, allocations: 219.8 kB / 0.8517 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/1.053, allocations: 43.3 kB / 0.8517 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/1.053, allocations: 8 kB / 0.8517 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.054, allocations: 334.8 kB / 0.852 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.054, allocations: 60.44 kB / 0.8521 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/1.054, allocations: 139.2 kB / 0.8522 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/1.054, allocations: 86.25 kB / 0.8523 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.054, allocations: 0 / 0.8523 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006857/1.055, allocations: 269.8 kB / 0.8526 GB, free: 308 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.055, allocations: 4 kB / 0.8526 GB, free: 304 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.055, allocations: 4.344 kB / 0.8526 GB, free: 300 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/1.055, allocations: 28.84 kB / 0.8526 GB, free: 268 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/1.056, allocations: 47.92 kB / 0.8527 GB, free: 220 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/1.057, allocations: 1.327 MB / 0.8539 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/1.057, allocations: 31.59 kB / 0.854 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/1.058, allocations: 8 kB / 0.854 GB, free: 14.71 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 (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.0002668/1.058, allocations: 165.7 kB / 0.8541 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/1.058, allocations: 23.8 kB / 0.8542 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/1.058, allocations: 34.03 kB / 0.8542 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/1.058, allocations: 0 / 0.8542 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.058, allocations: 0 / 0.8542 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.058, allocations: 11.88 kB / 0.8542 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/1.059, allocations: 0.6272 MB / 0.8548 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.059, allocations: 4.125 kB / 0.8548 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/1.06, allocations: 23.94 kB / 0.8548 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/1.06, allocations: 32.77 kB / 0.8549 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/1.06, allocations: 4 kB / 0.8549 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/1.061, allocations: 1.335 MB / 0.8562 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.061, allocations: 4.031 kB / 0.8562 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/1.062, allocations: 343 kB / 0.8565 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/1.062, allocations: 120.7 kB / 0.8566 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/1.062, allocations: 4.078 kB / 0.8566 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/1.062, allocations: 19.94 kB / 0.8567 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/1.062, allocations: 7.984 kB / 0.8567 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/1.062, allocations: 12 kB / 0.8567 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002869/1.063, allocations: 186 kB / 0.8569 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/1.063, allocations: 0 / 0.8569 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005502/1.063, allocations: 79.75 kB / 0.8569 GB, free: 11.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.001018/1.064, allocations: 1.17 MB / 0.8581 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006892/1.065, allocations: 273.3 kB / 0.8583 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.065, allocations: 4.188 kB / 0.8583 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/1.065, allocations: 186.5 kB / 0.8585 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/1.066, allocations: 50.78 kB / 0.8586 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/1.07, allocations: 3.157 MB / 0.8616 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/1.071, allocations: 0.8028 MB / 0.8624 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002897/1.071, allocations: 46.25 kB / 0.8625 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/1.071, allocations: 79.42 kB / 0.8625 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.071, allocations: 0 / 0.8625 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/1.106, allocations: 4.842 MB / 0.8673 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/1.106, allocations: 204 kB / 0.8675 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.741, allocations: 0 / 0.8675 GB, free: 0.4961 MB / 0.6823 GB