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 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.Resistance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",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.01161/0.01161, allocations: 106.6 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.00133/0.00133, allocations: 185.6 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 1.981/1.981, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.386/2.386, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005112, allocations: 15.98 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6958, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.274/0.9698, allocations: 150.6 MB / 0.8305 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004465/0.9703, allocations: 99.94 kB / 0.8306 GB, free: 7.531 MB / 0.6511 GB [/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/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04682/1.017, allocations: 11.37 MB / 0.8417 GB, free: 12 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.023e-06/1.017, allocations: 0 / 0.8417 GB, free: 12 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.017, allocations: 4 kB / 0.8417 GB, free: 11.99 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.0009224/1.018, allocations: 498.9 kB / 0.8422 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.018, allocations: 12.03 kB / 0.8422 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.397e-05/1.018, allocations: 58.53 kB / 0.8422 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009383/1.019, allocations: 75.66 kB / 0.8423 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/1.02, allocations: 244.5 kB / 0.8425 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/1.02, allocations: 12.38 kB / 0.8426 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/1.02, allocations: 19.98 kB / 0.8426 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/1.021, allocations: 295.2 kB / 0.8429 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.021, allocations: 0 / 0.8429 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/1.021, allocations: 4 kB / 0.8429 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/1.021, allocations: 16.36 kB / 0.8429 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/1.021, allocations: 200.8 kB / 0.8431 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/1.023, allocations: 1.468 MB / 0.8445 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/1.024, allocations: 175.7 kB / 0.8447 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/1.024, allocations: 0 / 0.8447 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.024, allocations: 34.56 kB / 0.8447 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/1.024, allocations: 0 / 0.8447 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0006805/1.025, allocations: 235.5 kB / 0.8449 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.025, allocations: 63.34 kB / 0.845 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/1.025, allocations: 166.2 kB / 0.8451 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/1.025, allocations: 25.7 kB / 0.8452 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/1.025, allocations: 175.1 kB / 0.8453 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/1.025, allocations: 31.55 kB / 0.8454 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/1.025, allocations: 4 kB / 0.8454 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.025, allocations: 322.8 kB / 0.8457 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.67e-05/1.025, allocations: 31.98 kB / 0.8457 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/1.026, allocations: 106.2 kB / 0.8458 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/1.026, allocations: 47.98 kB / 0.8459 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.026, allocations: 4 kB / 0.8459 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00049/1.026, allocations: 186.2 kB / 0.846 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.026, allocations: 4.281 kB / 0.846 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.026, allocations: 8 kB / 0.846 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/1.027, allocations: 28.8 kB / 0.8461 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.027, allocations: 39.92 kB / 0.8461 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/1.028, allocations: 1.327 MB / 0.8474 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/1.028, allocations: 11.84 kB / 0.8474 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.028, allocations: 12 kB / 0.8474 GB, free: 5.562 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 () * Number of clocked 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.000202/1.029, allocations: 145.7 kB / 0.8476 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/1.029, allocations: 20.05 kB / 0.8476 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/1.029, allocations: 29.33 kB / 0.8476 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.029, allocations: 0 / 0.8476 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.029, allocations: 0 / 0.8476 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.029, allocations: 0 / 0.8476 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/1.03, allocations: 451.1 kB / 0.848 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.03, allocations: 0 / 0.848 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/1.03, allocations: 4 kB / 0.8481 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/1.03, allocations: 28.84 kB / 0.8481 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.03, allocations: 96 / 0.8481 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/1.031, allocations: 1.319 MB / 0.8494 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.031, allocations: 0 / 0.8494 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/1.031, allocations: 220.1 kB / 0.8496 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.032, allocations: 92.91 kB / 0.8497 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/1.032, allocations: 8 kB / 0.8497 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/1.032, allocations: 4.188 kB / 0.8497 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/1.032, allocations: 7.984 kB / 0.8497 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/1.032, allocations: 4 kB / 0.8497 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001801/1.032, allocations: 144.3 kB / 0.8498 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.032, allocations: 0 / 0.8498 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00045/1.032, allocations: 55.84 kB / 0.8499 GB, free: 2.809 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 () * Number of clocked 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.0005962/1.033, allocations: 0.7456 MB / 0.8506 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004851/1.034, allocations: 206.4 kB / 0.8508 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.034, allocations: 0 / 0.8508 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/1.034, allocations: 151.2 kB / 0.851 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/1.034, allocations: 28.16 kB / 0.851 GB, free: 1.629 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/1.037, allocations: 2.384 MB / 0.8533 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/1.037, allocations: 0.7594 MB / 0.854 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001781/1.037, allocations: 33.98 kB / 0.8541 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.037, allocations: 47.42 kB / 0.8541 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/1.037, allocations: 0 / 0.8541 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/1.062, allocations: 3.357 MB / 0.8574 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/1.062, allocations: 203.3 kB / 0.8576 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/3.817, allocations: 0 / 0.8576 GB, free: 10.83 MB / 0.6823 GB