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 3.948/3.948, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.225e-05, allocations: 8 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6079, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2646/0.8725, allocations: 142.1 MB / 0.7284 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.873, allocations: 83.95 kB / 0.7285 GB, free: 88 kB / 0.6042 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.03608/0.9091, allocations: 9.433 MB / 0.7377 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9091, allocations: 4 kB / 0.7377 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.9091, allocations: 8 kB / 0.7377 GB, free: 6.512 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.0007088/0.9099, allocations: 426.2 kB / 0.7381 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.9099, allocations: 8.031 kB / 0.7381 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.403e-05/0.91, allocations: 54.5 kB / 0.7382 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.9106, allocations: 43.86 kB / 0.7382 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.911, allocations: 214.8 kB / 0.7384 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.911, allocations: 12.28 kB / 0.7384 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.9111, allocations: 15.98 kB / 0.7385 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.9116, allocations: 219 kB / 0.7387 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.9117, allocations: 3.938 kB / 0.7387 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.9117, allocations: 4 kB / 0.7387 GB, free: 5.414 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.9118, allocations: 16.23 kB / 0.7387 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.9122, allocations: 144.7 kB / 0.7388 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.9138, allocations: 0.8835 MB / 0.7397 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.9139, allocations: 22.58 kB / 0.7397 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.914, allocations: 16.89 kB / 0.7397 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.914, allocations: 3.984 kB / 0.7397 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.914, allocations: 38.56 kB / 0.7398 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.387e-06/0.914, allocations: 0 / 0.7398 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002134/0.9143, allocations: 57.59 kB / 0.7398 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.9143, allocations: 51.41 kB / 0.7399 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.9146, allocations: 162.1 kB / 0.74 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.9146, allocations: 25.7 kB / 0.74 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.9147, allocations: 147.3 kB / 0.7402 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.9148, allocations: 7.906 kB / 0.7402 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.9148, allocations: 8 kB / 0.7402 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.915, allocations: 326.8 kB / 0.7405 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.915, allocations: 16 kB / 0.7405 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.9152, allocations: 85.38 kB / 0.7406 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.9153, allocations: 35.98 kB / 0.7406 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9153, allocations: 0 / 0.7406 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003247/0.9156, allocations: 141.3 kB / 0.7408 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004784/0.9161, allocations: 0.964 MB / 0.7417 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.9162, allocations: 0 / 0.7417 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.9162, allocations: 4 kB / 0.7417 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.9165, allocations: 31.92 kB / 0.7418 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.9165, allocations: 4 kB / 0.7418 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.9166, allocations: 19.84 kB / 0.7418 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.9167, allocations: 4 kB / 0.7418 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.9167, allocations: 5.875 kB / 0.7418 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002289/0.9169, allocations: 91.98 kB / 0.7419 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.9169, allocations: 8.031 kB / 0.7419 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.917, allocations: 4 kB / 0.7419 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.9171, allocations: 27.94 kB / 0.7419 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.9171, allocations: 15.94 kB / 0.7419 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.9173, allocations: 11.84 kB / 0.7419 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.9173, allocations: 4 kB / 0.7419 GB, free: 1.809 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.0001087/0.9174, allocations: 116.2 kB / 0.7421 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.9174, allocations: 7.906 kB / 0.7421 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.9175, allocations: 16.94 kB / 0.7421 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9175, allocations: 0 / 0.7421 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9175, allocations: 7.891 kB / 0.7421 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.9176, allocations: 4 kB / 0.7421 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.9182, allocations: 456.2 kB / 0.7425 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.9182, allocations: 0 / 0.7425 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.9183, allocations: 7.984 kB / 0.7425 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.9183, allocations: 8.047 kB / 0.7425 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.9183, allocations: 4 kB / 0.7425 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.9184, allocations: 3.938 kB / 0.7425 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9184, allocations: 0 / 0.7425 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.9186, allocations: 122.1 kB / 0.7427 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.9187, allocations: 89 kB / 0.7427 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.9187, allocations: 4 kB / 0.7428 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.9188, allocations: 0 / 0.7428 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.9188, allocations: 4 kB / 0.7428 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.9188, allocations: 4 kB / 0.7428 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001652/0.919, allocations: 127.9 kB / 0.7429 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.725e-06/0.919, allocations: 0 / 0.7429 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004893/0.9195, allocations: 59.69 kB / 0.7429 GB, free: 0.6602 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.0006497/0.9202, allocations: 0.7977 MB / 0.7437 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.9205, allocations: 107.7 kB / 0.7438 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9206, allocations: 0 / 0.7438 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.9206, allocations: 17.36 kB / 0.7438 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.9209, allocations: 15.98 kB / 0.7439 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.9216, allocations: 227.3 kB / 0.7441 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.922, allocations: 0.7204 MB / 0.7448 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001993/0.9222, allocations: 40.72 kB / 0.7448 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.9223, allocations: 35.36 kB / 0.7448 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.9224, allocations: 0 / 0.7448 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.9443, allocations: 2.179 MB / 0.747 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.9447, allocations: 164 kB / 0.7471 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.337, allocations: 3.938 kB / 0.7471 GB, free: 12.27 MB / 0.6355 GB