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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01536/0.01537, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001966/0.001966, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.151/2.151, allocations: 194.5 MB / 211.3 MB, free: 11.23 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.623/2.623, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006512/0.0006515, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7168, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004638/0.7215, allocations: 2.703 MB / 0.6861 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.7243, allocations: 1.252 MB / 0.6873 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.7246, allocations: 7.656 kB / 0.6873 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.7248, allocations: 39.88 kB / 0.6873 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.7254, allocations: 114.2 kB / 0.6874 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.7259, allocations: 103.4 kB / 0.6875 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.7263, allocations: 187.3 kB / 0.6877 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.7267, allocations: 228.5 kB / 0.6879 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.727, allocations: 101.9 kB / 0.688 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.7273, allocations: 98.58 kB / 0.6881 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.7273, allocations: 11.06 kB / 0.6881 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.7277, allocations: 77.83 kB / 0.6882 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.7278, allocations: 65.22 kB / 0.6883 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.7279, allocations: 70.67 kB / 0.6883 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.7284, allocations: 259.8 kB / 0.6886 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7284, allocations: 0 / 0.6886 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7284, allocations: 1.031 kB / 0.6886 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7284, allocations: 0 / 0.6886 GB, free: 13.5 MB / 0.5261 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.0009836/0.7294, allocations: 0.504 MB / 0.6891 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7295, allocations: 9.812 kB / 0.6891 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.7296, allocations: 59.81 kB / 0.6892 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.7306, allocations: 91.89 kB / 0.6892 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.731, allocations: 243 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.731, allocations: 12.75 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.7311, allocations: 17.31 kB / 0.6895 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.7319, allocations: 321.9 kB / 0.6898 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7319, allocations: 0.875 kB / 0.6898 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.732, allocations: 10.48 kB / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-05/0.732, allocations: 17.38 kB / 0.6898 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.7327, allocations: 221.3 kB / 0.69 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.7349, allocations: 1.502 MB / 0.6915 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.7357, allocations: 200.2 kB / 0.6917 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.7357, allocations: 5.156 kB / 0.6917 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.7357, allocations: 32.16 kB / 0.6917 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.7357, allocations: 0 / 0.6917 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0008276/0.7366, allocations: 275.7 kB / 0.692 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.7366, allocations: 52.78 kB / 0.6921 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.7369, allocations: 207 kB / 0.6923 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.7369, allocations: 25.7 kB / 0.6923 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.737, allocations: 178 kB / 0.6924 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.7371, allocations: 29.47 kB / 0.6925 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.7371, allocations: 5.031 kB / 0.6925 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.7372, allocations: 324.5 kB / 0.6928 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.7374, allocations: 51.77 kB / 0.6928 GB, free: 10 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.7376, allocations: 118.2 kB / 0.693 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.7378, allocations: 62.94 kB / 0.693 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7378, allocations: 1.156 kB / 0.693 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006183/0.7385, allocations: 210.7 kB / 0.6932 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.7385, allocations: 7.062 kB / 0.6932 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7385, allocations: 1.594 kB / 0.6932 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.7388, allocations: 31.47 kB / 0.6933 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.739, allocations: 31.7 kB / 0.6933 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.7402, allocations: 1.334 MB / 0.6946 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.7406, allocations: 28.75 kB / 0.6946 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.7407, allocations: 10.67 kB / 0.6946 GB, free: 8.406 MB / 0.5261 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 () * Number of clocked 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 0.0002066/0.7409, allocations: 149.9 kB / 0.6948 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.741, allocations: 15.38 kB / 0.6948 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.741, allocations: 21.25 kB / 0.6948 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.741, allocations: 0.6562 kB / 0.6948 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7411, allocations: 5.078 kB / 0.6948 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7411, allocations: 4.609 kB / 0.6948 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.742, allocations: 497.9 kB / 0.6953 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.742, allocations: 0 / 0.6953 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.7422, allocations: 11.84 kB / 0.6953 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.7423, allocations: 29.06 kB / 0.6953 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.7423, allocations: 0.6094 kB / 0.6953 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.7434, allocations: 1.332 MB / 0.6966 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7434, allocations: 1.094 kB / 0.6966 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.7439, allocations: 236 kB / 0.6969 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.744, allocations: 99.75 kB / 0.6969 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.7441, allocations: 6.219 kB / 0.697 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.7443, allocations: 10.83 kB / 0.697 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.7443, allocations: 5.812 kB / 0.697 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.7444, allocations: 3.531 kB / 0.697 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001836/0.7446, allocations: 149 kB / 0.6971 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7446, allocations: 0 / 0.6971 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005151/0.7451, allocations: 54.94 kB / 0.6972 GB, free: 6.117 MB / 0.5261 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 () * Number of clocked 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.0006986/0.7458, allocations: 0.7833 MB / 0.6979 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006306/0.7465, allocations: 235.2 kB / 0.6982 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7465, allocations: 0 / 0.6982 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.7468, allocations: 167.1 kB / 0.6983 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.7472, allocations: 44.73 kB / 0.6984 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.7499, allocations: 2.507 MB / 0.7008 GB, free: 3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.7502, allocations: 0.7587 MB / 0.7015 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.7504, allocations: 27.73 kB / 0.7016 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.7506, allocations: 57.2 kB / 0.7016 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/0.7506, allocations: 0 / 0.7016 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.7815, allocations: 3.616 MB / 0.7052 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/0.7819, allocations: 203 kB / 0.7054 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.398, allocations: 1 kB / 0.7054 GB, free: 0.8008 MB / 0.5261 GB