Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.354/4.354, allocations: 464.6 MB / 476.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.88e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9543/1.206, allocations: 153.8 MB / 0.828 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.207, allocations: 87.03 kB / 0.8281 GB, free: 11.7 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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.03088/1.238, allocations: 9.487 MB / 0.8373 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/1.238, allocations: 0 / 0.8373 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.238, allocations: 3.875 kB / 0.8374 GB, free: 7.82 MB / 0.6355 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.0005437/1.238, allocations: 411.2 kB / 0.8377 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.238, allocations: 7.719 kB / 0.8378 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/1.238, allocations: 48.2 kB / 0.8378 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/1.239, allocations: 54.39 kB / 0.8378 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/1.239, allocations: 223.2 kB / 0.8381 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.239, allocations: 15.84 kB / 0.8381 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/1.239, allocations: 11.12 kB / 0.8381 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/1.24, allocations: 223.8 kB / 0.8383 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.24, allocations: 0 / 0.8383 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/1.24, allocations: 6.969 kB / 0.8383 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/1.24, allocations: 11.41 kB / 0.8383 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/1.24, allocations: 145.8 kB / 0.8385 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/1.241, allocations: 1.13 MB / 0.8396 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/1.242, allocations: 21.3 kB / 0.8396 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.242, allocations: 19.53 kB / 0.8396 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/1.242, allocations: 3.953 kB / 0.8396 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/1.242, allocations: 34.56 kB / 0.8396 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/1.242, allocations: 0 / 0.8396 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001875/1.242, allocations: 67.05 kB / 0.8397 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/1.242, allocations: 51.41 kB / 0.8398 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/1.242, allocations: 162.4 kB / 0.8399 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.242, allocations: 25.7 kB / 0.8399 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/1.242, allocations: 143.2 kB / 0.8401 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/1.242, allocations: 11.06 kB / 0.8401 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/1.242, allocations: 4 kB / 0.8401 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.636e-05/1.242, allocations: 325.6 kB / 0.8404 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/1.242, allocations: 18.58 kB / 0.8404 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/1.242, allocations: 86.23 kB / 0.8405 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/1.243, allocations: 41.59 kB / 0.8405 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.243, allocations: 0 / 0.8405 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000252/1.243, allocations: 123 kB / 0.8406 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005402/1.243, allocations: 0.9603 MB / 0.8416 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.243, allocations: 7.797 kB / 0.8416 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.243, allocations: 3.688 kB / 0.8416 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/1.244, allocations: 34.7 kB / 0.8416 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.244, allocations: 3.781 kB / 0.8416 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/1.244, allocations: 11.72 kB / 0.8416 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/1.244, allocations: 7.656 kB / 0.8417 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/1.244, allocations: 3.875 kB / 0.8417 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001935/1.244, allocations: 90.67 kB / 0.8417 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.244, allocations: 4.062 kB / 0.8417 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/1.244, allocations: 3.844 kB / 0.8417 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.244, allocations: 27.23 kB / 0.8418 GB, free: 19.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.244, allocations: 3.875 kB / 0.8418 GB, free: 19.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/1.244, allocations: 14.72 kB / 0.8418 GB, free: 19.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/1.244, allocations: 7.781 kB / 0.8418 GB, free: 19.91 MB / 0.6511 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 8.917e-05/1.244, allocations: 120.1 kB / 0.8419 GB, free: 19.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/1.245, allocations: 7.75 kB / 0.8419 GB, free: 19.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/1.245, allocations: 20.02 kB / 0.8419 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.245, allocations: 0 / 0.8419 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.245, allocations: 0 / 0.8419 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.245, allocations: 0 / 0.8419 GB, free: 19.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/1.245, allocations: 464.8 kB / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.245, allocations: 0 / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/1.245, allocations: 3.969 kB / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.245, allocations: 4.094 kB / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.245, allocations: 7.875 kB / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.245, allocations: 0 / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.245, allocations: 0 / 0.8424 GB, free: 19.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/1.245, allocations: 127.7 kB / 0.8425 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/1.246, allocations: 87.67 kB / 0.8426 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/1.246, allocations: 7.797 kB / 0.8426 GB, free: 19.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.935e-05/1.246, allocations: 0 / 0.8426 GB, free: 19.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/1.246, allocations: 11.83 kB / 0.8426 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/1.246, allocations: 2.938 kB / 0.8426 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001342/1.246, allocations: 129.4 kB / 0.8428 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.246, allocations: 0 / 0.8428 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004973/1.246, allocations: 53.38 kB / 0.8428 GB, free: 19.01 MB / 0.6511 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.000537/1.247, allocations: 0.8057 MB / 0.8436 GB, free: 18.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002543/1.247, allocations: 101.1 kB / 0.8437 GB, free: 18.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.247, allocations: 0 / 0.8437 GB, free: 18.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/1.247, allocations: 10.88 kB / 0.8437 GB, free: 18.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.248, allocations: 16.98 kB / 0.8437 GB, free: 18.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006383/1.248, allocations: 233.6 kB / 0.8439 GB, free: 18.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.249, allocations: 0.7303 MB / 0.8446 GB, free: 17.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001819/1.249, allocations: 39.94 kB / 0.8447 GB, free: 17.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/1.249, allocations: 34.83 kB / 0.8447 GB, free: 17.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.249, allocations: 0 / 0.8447 GB, free: 17.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/1.274, allocations: 2.159 MB / 0.8468 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/1.275, allocations: 174.5 kB / 0.847 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.567, allocations: 3.938 kB / 0.847 GB, free: 14.92 MB / 0.6511 GB