Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.29/4.29, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.42e-05/4.428e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6417, allocations: 92.69 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.269/0.9108, allocations: 142.1 MB / 0.7284 GB, free: 64 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004786/0.9114, allocations: 84.02 kB / 0.7285 GB, free: 15.98 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04586/0.9572, allocations: 9.44 MB / 0.7377 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9573, allocations: 0 / 0.7377 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.9573, allocations: 8 kB / 0.7377 GB, free: 6.406 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007914/0.9581, allocations: 428 kB / 0.7382 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.9582, allocations: 8.031 kB / 0.7382 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.709e-05/0.9583, allocations: 46.52 kB / 0.7382 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008483/0.9592, allocations: 51.8 kB / 0.7383 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.9596, allocations: 214.8 kB / 0.7385 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.9597, allocations: 12.28 kB / 0.7385 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.9597, allocations: 12 kB / 0.7385 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.9604, allocations: 218.7 kB / 0.7387 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.9604, allocations: 0 / 0.7387 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.9605, allocations: 8 kB / 0.7387 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.9606, allocations: 16.22 kB / 0.7387 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.9611, allocations: 140.5 kB / 0.7388 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.9629, allocations: 0.8876 MB / 0.7397 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.9629, allocations: 18.67 kB / 0.7397 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.963, allocations: 24.77 kB / 0.7398 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.9631, allocations: 4 kB / 0.7398 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.9631, allocations: 30.56 kB / 0.7398 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.9631, allocations: 0 / 0.7398 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002412/0.9634, allocations: 57.59 kB / 0.7398 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.9634, allocations: 55.41 kB / 0.7399 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.9637, allocations: 158.4 kB / 0.74 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.9638, allocations: 29.7 kB / 0.7401 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.9639, allocations: 147.3 kB / 0.7402 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.964, allocations: 7.891 kB / 0.7402 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.964, allocations: 4 kB / 0.7402 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.9642, allocations: 326.8 kB / 0.7405 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.9643, allocations: 23.98 kB / 0.7406 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.9644, allocations: 81.39 kB / 0.7406 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.9646, allocations: 39.97 kB / 0.7407 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9646, allocations: 0 / 0.7407 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004106/0.965, allocations: 129.4 kB / 0.7408 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005002/0.9655, allocations: 0.9523 MB / 0.7417 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.9656, allocations: 7.938 kB / 0.7417 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.9656, allocations: 4 kB / 0.7417 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.9659, allocations: 27.98 kB / 0.7418 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.9659, allocations: 7.938 kB / 0.7418 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.9661, allocations: 15.84 kB / 0.7418 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.9662, allocations: 8 kB / 0.7418 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9662, allocations: 9.812 kB / 0.7418 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002961/0.9665, allocations: 87.77 kB / 0.7419 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.9665, allocations: 0 / 0.7419 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.9665, allocations: 4 kB / 0.7419 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.9667, allocations: 28.3 kB / 0.7419 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.9668, allocations: 15.89 kB / 0.7419 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.9669, allocations: 11.84 kB / 0.742 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.967, allocations: 8 kB / 0.742 GB, free: 1.723 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.9671, allocations: 105 kB / 0.7421 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.9672, allocations: 7.906 kB / 0.7421 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.9672, allocations: 16.92 kB / 0.7421 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.9673, allocations: 0 / 0.7421 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.9673, allocations: 3.953 kB / 0.7421 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9673, allocations: 8 kB / 0.7421 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.9681, allocations: 460.2 kB / 0.7425 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9681, allocations: 0 / 0.7425 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.9682, allocations: 11.88 kB / 0.7425 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.9682, allocations: 3.953 kB / 0.7425 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.9682, allocations: 4 kB / 0.7426 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.9682, allocations: 0 / 0.7426 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9683, allocations: 4.094 kB / 0.7426 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.9685, allocations: 122.1 kB / 0.7427 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.9686, allocations: 85.02 kB / 0.7428 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.9687, allocations: 0 / 0.7428 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.9688, allocations: 8.188 kB / 0.7428 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.9688, allocations: 7.922 kB / 0.7428 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.9688, allocations: 7.984 kB / 0.7428 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001932/0.969, allocations: 126.8 kB / 0.7429 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.71e-07/0.969, allocations: 0 / 0.7429 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007752/0.9698, allocations: 55.75 kB / 0.743 GB, free: 0.5781 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00067/0.9705, allocations: 0.7977 MB / 0.7437 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.9709, allocations: 96.97 kB / 0.7438 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9709, allocations: 4.062 kB / 0.7438 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.971, allocations: 19.88 kB / 0.7438 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.9713, allocations: 15.98 kB / 0.7439 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.9723, allocations: 223.5 kB / 0.7441 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.9728, allocations: 0.7323 MB / 0.7448 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002559/0.973, allocations: 28.73 kB / 0.7448 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.9732, allocations: 35.42 kB / 0.7449 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.9732, allocations: 4 kB / 0.7449 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.9997, allocations: 2.163 MB / 0.747 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/1, allocations: 165 kB / 0.7471 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.209, allocations: 0 / 0.7471 GB, free: 12.21 MB / 0.6355 GB