Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.01581/0.01581, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.002042/0.002042, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.098/2.098, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.4/2.4, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005127, allocations: 15.94 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6838/0.6843, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/0.9498, allocations: 151.7 MB / 0.8316 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.9502, allocations: 95.94 kB / 0.8317 GB, free: 6.305 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.04818/0.9984, allocations: 11.75 MB / 0.8431 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9985, allocations: 0 / 0.8431 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.9985, allocations: 4 kB / 0.8431 GB, free: 10.38 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001084/0.9996, allocations: 0.5067 MB / 0.8436 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.9997, allocations: 12.03 kB / 0.8437 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.9998, allocations: 58.55 kB / 0.8437 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.001, allocations: 87.64 kB / 0.8438 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/1.001, allocations: 258 kB / 0.844 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.001, allocations: 12.44 kB / 0.8441 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/1.001, allocations: 20 kB / 0.8441 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/1.002, allocations: 308.3 kB / 0.8444 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/1.002, allocations: 3.938 kB / 0.8444 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/1.002, allocations: 8 kB / 0.8444 GB, free: 9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/1.002, allocations: 20.42 kB / 0.8444 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/1.003, allocations: 209.6 kB / 0.8446 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/1.005, allocations: 1.49 MB / 0.8461 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/1.006, allocations: 211.6 kB / 0.8463 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/1.006, allocations: 3.984 kB / 0.8463 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.006, allocations: 34.56 kB / 0.8463 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 2.835e-06/1.006, allocations: 0 / 0.8463 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0008758/1.007, allocations: 262.7 kB / 0.8465 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.007, allocations: 59.3 kB / 0.8466 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/1.007, allocations: 183 kB / 0.8468 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.007, allocations: 25.7 kB / 0.8468 GB, free: 6.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.008, allocations: 183.6 kB / 0.847 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.008, allocations: 23.66 kB / 0.847 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/1.008, allocations: 4 kB / 0.847 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.008, allocations: 326.8 kB / 0.8473 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/1.008, allocations: 43.98 kB / 0.8474 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/1.008, allocations: 116.8 kB / 0.8475 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/1.008, allocations: 63.92 kB / 0.8475 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.008, allocations: 3.938 kB / 0.8475 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006285/1.009, allocations: 214 kB / 0.8477 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.009, allocations: 4.281 kB / 0.8477 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.009, allocations: 8 kB / 0.8477 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/1.009, allocations: 20.84 kB / 0.8478 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.01, allocations: 39.92 kB / 0.8478 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/1.011, allocations: 1.323 MB / 0.8491 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/1.011, allocations: 19.84 kB / 0.8491 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/1.011, allocations: 4 kB / 0.8491 GB, free: 3.707 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 (18): * Single equations (assignments): 17 * 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.000258/1.012, allocations: 165.9 kB / 0.8493 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/1.012, allocations: 19.77 kB / 0.8493 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/1.012, allocations: 17.41 kB / 0.8493 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.012, allocations: 0 / 0.8493 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.012, allocations: 64 / 0.8493 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.012, allocations: 7.984 kB / 0.8493 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.013, allocations: 479.2 kB / 0.8498 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.013, allocations: 7.938 kB / 0.8498 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.013, allocations: 11.98 kB / 0.8498 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/1.013, allocations: 24.84 kB / 0.8498 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.013, allocations: 0 / 0.8498 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/1.015, allocations: 1.311 MB / 0.8511 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.015, allocations: 0 / 0.8511 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/1.015, allocations: 240.9 kB / 0.8513 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.015, allocations: 100.9 kB / 0.8514 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/1.015, allocations: 0 / 0.8514 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/1.016, allocations: 11.94 kB / 0.8514 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/1.016, allocations: 7.984 kB / 0.8514 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/1.016, allocations: 7.953 kB / 0.8514 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002101/1.016, allocations: 141.6 kB / 0.8516 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.21e-07/1.016, allocations: 11.94 kB / 0.8516 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004999/1.016, allocations: 51.84 kB / 0.8516 GB, free: 0.875 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 (7): * Single equations (assignments): 6 * 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.0008143/1.017, allocations: 0.774 MB / 0.8524 GB, free: 76 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007172/1.018, allocations: 230.6 kB / 0.8526 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.018, allocations: 0 / 0.8526 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/1.018, allocations: 171.1 kB / 0.8528 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/1.019, allocations: 34.38 kB / 0.8528 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.022, allocations: 2.472 MB / 0.8552 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/1.022, allocations: 0.7635 MB / 0.856 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002104/1.022, allocations: 29.53 kB / 0.856 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/1.023, allocations: 51.42 kB / 0.8561 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/1.023, allocations: 0 / 0.8561 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/1.053, allocations: 3.578 MB / 0.8595 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/1.053, allocations: 206.8 kB / 0.8597 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.419, allocations: 0 / 0.8597 GB, free: 8.504 MB / 0.6823 GB