Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.394/4.394, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.692e-05, allocations: 4.312 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2161, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.259, allocations: 146.5 MB / 0.7777 GB, free: 56.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/1.259, allocations: 84.34 kB / 0.7778 GB, free: 56.74 MB / 0.6511 GB [/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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04627/1.306, allocations: 9.482 MB / 0.7871 GB, free: 55.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/1.306, allocations: 0 / 0.7871 GB, free: 55.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.751e-05/1.306, allocations: 2.844 kB / 0.7871 GB, free: 55.66 MB / 0.6511 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.000635/1.306, allocations: 410.3 kB / 0.7875 GB, free: 55.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/1.306, allocations: 12.69 kB / 0.7875 GB, free: 55.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/1.307, allocations: 51.52 kB / 0.7875 GB, free: 55.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/1.307, allocations: 60.31 kB / 0.7876 GB, free: 55.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/1.307, allocations: 212.5 kB / 0.7878 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/1.308, allocations: 13.38 kB / 0.7878 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/1.308, allocations: 16.28 kB / 0.7878 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/1.308, allocations: 215.8 kB / 0.788 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.308, allocations: 5.406 kB / 0.788 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/1.308, allocations: 13.22 kB / 0.7881 GB, free: 54.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/1.308, allocations: 12.62 kB / 0.7881 GB, free: 54.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/1.309, allocations: 143.4 kB / 0.7882 GB, free: 54.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/1.31, allocations: 1.141 MB / 0.7893 GB, free: 53.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.154e-05/1.31, allocations: 21.58 kB / 0.7893 GB, free: 53.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/1.31, allocations: 18.81 kB / 0.7894 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/1.31, allocations: 1.406 kB / 0.7894 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.31, allocations: 34.69 kB / 0.7894 GB, free: 53.86 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 3.356e-06/1.31, allocations: 4.969 kB / 0.7894 GB, free: 53.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002035/1.311, allocations: 53.38 kB / 0.7894 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.311, allocations: 53.69 kB / 0.7895 GB, free: 53.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/1.311, allocations: 162.4 kB / 0.7896 GB, free: 53.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/1.311, allocations: 27.08 kB / 0.7897 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/1.311, allocations: 149.8 kB / 0.7898 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/1.311, allocations: 12.8 kB / 0.7898 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/1.311, allocations: 0 / 0.7898 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/1.311, allocations: 320.7 kB / 0.7901 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/1.311, allocations: 21.56 kB / 0.7902 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/1.311, allocations: 90.03 kB / 0.7902 GB, free: 53.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/1.311, allocations: 33.75 kB / 0.7903 GB, free: 53.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.311, allocations: 1.375 kB / 0.7903 GB, free: 53.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000315/1.312, allocations: 135.1 kB / 0.7904 GB, free: 53.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000239/1.312, allocations: 0.9634 MB / 0.7913 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.312, allocations: 2.75 kB / 0.7913 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/1.312, allocations: 4.125 kB / 0.7914 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/1.312, allocations: 26 kB / 0.7914 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.312, allocations: 4.781 kB / 0.7914 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/1.312, allocations: 14 kB / 0.7914 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/1.313, allocations: 10.11 kB / 0.7914 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.313, allocations: 4.125 kB / 0.7914 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000245/1.313, allocations: 99.5 kB / 0.7915 GB, free: 51.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/1.313, allocations: 3.438 kB / 0.7915 GB, free: 51.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/1.313, allocations: 7.625 kB / 0.7915 GB, free: 51.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/1.313, allocations: 26.03 kB / 0.7915 GB, free: 51.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.313, allocations: 3.703 kB / 0.7915 GB, free: 51.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.313, allocations: 20.33 kB / 0.7916 GB, free: 51.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.313, allocations: 6.594 kB / 0.7916 GB, free: 51.97 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 7.974e-05/1.313, allocations: 116.3 kB / 0.7917 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/1.313, allocations: 12.12 kB / 0.7917 GB, free: 51.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/1.313, allocations: 14.41 kB / 0.7917 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.313, allocations: 0.8125 kB / 0.7917 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.313, allocations: 1.672 kB / 0.7917 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.313, allocations: 0 / 0.7917 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/1.314, allocations: 468.5 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.314, allocations: 1.281 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/1.314, allocations: 4.703 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.314, allocations: 2.062 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/1.314, allocations: 2.062 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/1.314, allocations: 3.953 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.314, allocations: 1.312 kB / 0.7922 GB, free: 51.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/1.314, allocations: 122.2 kB / 0.7923 GB, free: 51.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/1.314, allocations: 100.1 kB / 0.7924 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/1.314, allocations: 1.766 kB / 0.7924 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/1.314, allocations: 0.9688 kB / 0.7924 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/1.314, allocations: 3 kB / 0.7924 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/1.315, allocations: 1.672 kB / 0.7924 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001404/1.315, allocations: 134.2 kB / 0.7925 GB, free: 51.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.315, allocations: 0 / 0.7925 GB, free: 51.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005161/1.315, allocations: 60.97 kB / 0.7926 GB, free: 51.11 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.0003903/1.316, allocations: 0.7988 MB / 0.7934 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002997/1.316, allocations: 103.1 kB / 0.7935 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.316, allocations: 0 / 0.7935 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/1.316, allocations: 14.48 kB / 0.7935 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/1.316, allocations: 18.77 kB / 0.7935 GB, free: 50.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/1.317, allocations: 226.4 kB / 0.7937 GB, free: 50.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.317, allocations: 0.7303 MB / 0.7944 GB, free: 49.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002083/1.317, allocations: 37.91 kB / 0.7944 GB, free: 49.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/1.318, allocations: 31.31 kB / 0.7945 GB, free: 49.44 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.318, allocations: 0 / 0.7945 GB, free: 49.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/1.341, allocations: 2.19 MB / 0.7966 GB, free: 49.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.341, allocations: 161 kB / 0.7968 GB, free: 48.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.678, allocations: 0 / 0.7968 GB, free: 48.93 MB / 0.6511 GB