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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.226/4.226, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.994e-05, allocations: 2.781 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2909, allocations: 98.73 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.5949, allocations: 151 MB / 0.7763 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.5953, allocations: 83.95 kB / 0.7764 GB, free: 1.879 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.5831/1.178, allocations: 11.61 MB / 0.7877 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.914e-06/1.178, allocations: 0 / 0.7877 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.256e-05/1.178, allocations: 9.547 kB / 0.7877 GB, free: 147.2 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008568/1.179, allocations: 495.8 kB / 0.7882 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.179, allocations: 10.25 kB / 0.7882 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/1.18, allocations: 85.53 kB / 0.7883 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/1.181, allocations: 249.1 kB / 0.7885 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.181, allocations: 6.531 kB / 0.7885 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/1.181, allocations: 10.59 kB / 0.7886 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004761/1.181, allocations: 172 kB / 0.7887 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/1.182, allocations: 268.8 kB / 0.789 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.182, allocations: 5.844 kB / 0.789 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/1.182, allocations: 0 / 0.789 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/1.182, allocations: 24.62 kB / 0.789 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/1.184, allocations: 1.433 MB / 0.7904 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/1.185, allocations: 193.4 kB / 0.7906 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/1.185, allocations: 42.2 kB / 0.7906 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/1.185, allocations: 5.125 kB / 0.7906 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.185, allocations: 31.88 kB / 0.7907 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.976e-06/1.185, allocations: 0 / 0.7907 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0004108/1.185, allocations: 106.9 kB / 0.7908 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/1.185, allocations: 56.48 kB / 0.7908 GB, free: 145 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/1.185, allocations: 166.1 kB / 0.791 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.186, allocations: 30.89 kB / 0.791 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/1.186, allocations: 179.1 kB / 0.7912 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/1.186, allocations: 27.98 kB / 0.7912 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/1.186, allocations: 0 / 0.7912 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.721e-05/1.186, allocations: 321.8 kB / 0.7915 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/1.186, allocations: 41.78 kB / 0.7916 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.186, allocations: 96.38 kB / 0.7916 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.186, allocations: 53.86 kB / 0.7917 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.186, allocations: 5.031 kB / 0.7917 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004227/1.187, allocations: 169.2 kB / 0.7919 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.187, allocations: 12.48 kB / 0.7919 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.187, allocations: 6.828 kB / 0.7919 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/1.187, allocations: 31.09 kB / 0.7919 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/1.187, allocations: 32.97 kB / 0.7919 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009921/1.188, allocations: 1.258 MB / 0.7932 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/1.188, allocations: 15 kB / 0.7932 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/1.188, allocations: 6.625 kB / 0.7932 GB, free: 143 MB / 0.6511 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 () * 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 8.93e-05/1.189, allocations: 114.2 kB / 0.7933 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002939/1.189, allocations: 130 kB / 0.7934 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/1.189, allocations: 15.25 kB / 0.7934 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/1.189, allocations: 25.06 kB / 0.7935 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.189, allocations: 1.438 kB / 0.7935 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.189, allocations: 1.25 kB / 0.7935 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.189, allocations: 3.938 kB / 0.7935 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/1.19, allocations: 417 kB / 0.7939 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.19, allocations: 0 / 0.7939 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/1.19, allocations: 12.97 kB / 0.7939 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/1.19, allocations: 25.75 kB / 0.7939 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/1.19, allocations: 1.375 kB / 0.7939 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009702/1.191, allocations: 1.256 MB / 0.7951 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.191, allocations: 1 kB / 0.7951 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/1.191, allocations: 215.5 kB / 0.7953 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.192, allocations: 98.22 kB / 0.7954 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/1.192, allocations: 0 / 0.7954 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/1.192, allocations: 13.69 kB / 0.7954 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/1.192, allocations: 8.109 kB / 0.7955 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/1.192, allocations: 2.25 kB / 0.7955 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002321/1.192, allocations: 131.9 kB / 0.7956 GB, free: 141 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.61e-07/1.192, allocations: 3.938 kB / 0.7956 GB, free: 141 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008302/1.193, allocations: 55 kB / 0.7956 GB, free: 141 MB / 0.6511 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 () * 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.0006977/1.194, allocations: 0.7456 MB / 0.7964 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005494/1.195, allocations: 200.5 kB / 0.7966 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.195, allocations: 1.406 kB / 0.7966 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/1.195, allocations: 151.2 kB / 0.7967 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/1.195, allocations: 26.23 kB / 0.7967 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/1.196, allocations: 294.2 kB / 0.797 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/1.197, allocations: 0.7609 MB / 0.7978 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.197, allocations: 19.64 kB / 0.7978 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/1.197, allocations: 63.39 kB / 0.7978 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.197, allocations: 0 / 0.7978 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/1.232, allocations: 3.004 MB / 0.8008 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/1.232, allocations: 153.5 kB / 0.8009 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.664, allocations: 1.219 kB / 0.8009 GB, free: 138.5 MB / 0.6511 GB