Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.01175/0.01175, allocations: 107.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.002688/0.002688, allocations: 181.8 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.028/2.028, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.356/2.356, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008002/0.0008005, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8335, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005945/0.8395, allocations: 3.484 MB / 0.6868 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.8431, allocations: 1.469 MB / 0.6883 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.8434, allocations: 9.562 kB / 0.6883 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.8437, allocations: 63.59 kB / 0.6883 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006321/0.8444, allocations: 158.6 kB / 0.6885 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.8452, allocations: 160 kB / 0.6886 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.8459, allocations: 304.7 kB / 0.6889 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006166/0.8465, allocations: 388.3 kB / 0.6893 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.8468, allocations: 157.7 kB / 0.6895 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.8473, allocations: 164.1 kB / 0.6896 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.8473, allocations: 23.69 kB / 0.6896 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.8477, allocations: 85.12 kB / 0.6897 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.8479, allocations: 115.1 kB / 0.6898 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.848, allocations: 88.52 kB / 0.6899 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.8488, allocations: 398.2 kB / 0.6903 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8488, allocations: 0 / 0.6903 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8488, allocations: 0 / 0.6903 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.8488, allocations: 0 / 0.6903 GB, free: 12.56 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0016/0.8504, allocations: 0.6187 MB / 0.6909 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.8505, allocations: 8.406 kB / 0.6909 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.8506, allocations: 78.06 kB / 0.691 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.8518, allocations: 116.4 kB / 0.6911 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.8525, allocations: 298 kB / 0.6914 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.8526, allocations: 55.3 kB / 0.6914 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.183e-05/0.8527, allocations: 35.23 kB / 0.6915 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.8541, allocations: 0.4983 MB / 0.6919 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.8542, allocations: 3.938 kB / 0.6919 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.8543, allocations: 24.2 kB / 0.692 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.378e-05/0.8543, allocations: 29.25 kB / 0.692 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.8556, allocations: 389.2 kB / 0.6924 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.8593, allocations: 2.228 MB / 0.6945 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.8607, allocations: 274.3 kB / 0.6948 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.8608, allocations: 7.703 kB / 0.6948 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.8608, allocations: 31.88 kB / 0.6948 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 2.655e-06/0.8608, allocations: 0 / 0.6948 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.00251/0.8633, allocations: 0.6015 MB / 0.6954 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.8634, allocations: 54.05 kB / 0.6955 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.8637, allocations: 229.6 kB / 0.6957 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.8638, allocations: 27.17 kB / 0.6957 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.8639, allocations: 211.2 kB / 0.6959 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.864, allocations: 70.53 kB / 0.696 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.864, allocations: 4.969 kB / 0.696 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.8641, allocations: 333.8 kB / 0.6963 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.8645, allocations: 93.41 kB / 0.6964 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.865, allocations: 180.8 kB / 0.6966 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.8654, allocations: 132.8 kB / 0.6967 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.8654, allocations: 0 / 0.6967 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001507/0.867, allocations: 394.6 kB / 0.6971 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.8672, allocations: 0.8739 MB / 0.6979 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8672, allocations: 3.438 kB / 0.6979 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000818/0.868, allocations: 113.7 kB / 0.698 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.8685, allocations: 48.12 kB / 0.6981 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.8727, allocations: 2.857 MB / 0.7009 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.8732, allocations: 34.7 kB / 0.7009 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.8732, allocations: 12.67 kB / 0.7009 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.8732, allocations: 3.375 kB / 0.7009 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/0.8745, allocations: 320.4 kB / 0.7012 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8746, allocations: 2.078 kB / 0.7012 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.8751, allocations: 90.11 kB / 0.7013 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.8755, allocations: 51.39 kB / 0.7014 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.8783, allocations: 1.533 MB / 0.7029 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.8788, allocations: 29.58 kB / 0.7029 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8788, allocations: 10.88 kB / 0.7029 GB, free: 2.488 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003158/0.8792, allocations: 248.6 kB / 0.7031 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.8792, allocations: 26.66 kB / 0.7032 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.8793, allocations: 31.67 kB / 0.7032 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.8793, allocations: 1.375 kB / 0.7032 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8793, allocations: 1.375 kB / 0.7032 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.8793, allocations: 0 / 0.7032 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.8799, allocations: 382.6 kB / 0.7036 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.88, allocations: 0 / 0.7036 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.8803, allocations: 36.28 kB / 0.7036 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006746/0.8809, allocations: 104.1 kB / 0.7037 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.881, allocations: 1.25 kB / 0.7037 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/0.8849, allocations: 2.829 MB / 0.7065 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.885, allocations: 1.25 kB / 0.7065 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.8863, allocations: 422.5 kB / 0.7069 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.8866, allocations: 118.3 kB / 0.707 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.8866, allocations: 5.906 kB / 0.707 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.8869, allocations: 15 kB / 0.707 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.8871, allocations: 23.34 kB / 0.707 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.8871, allocations: 7.531 kB / 0.707 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002472/0.8873, allocations: 163 kB / 0.7072 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8874, allocations: 0 / 0.7072 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000946/0.8883, allocations: 173.5 kB / 0.7074 GB, free: 14.41 MB / 0.5417 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 (16): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.8901, allocations: 0.9465 MB / 0.7083 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.8933, allocations: 0.7753 MB / 0.709 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8934, allocations: 0.9375 kB / 0.709 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.8947, allocations: 377.9 kB / 0.7094 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.8953, allocations: 55.81 kB / 0.7094 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00524/0.9005, allocations: 3.015 MB / 0.7124 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.9011, allocations: 0.8186 MB / 0.7132 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004158/0.9016, allocations: 57.84 kB / 0.7132 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.9018, allocations: 91.19 kB / 0.7133 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/0.9018, allocations: 0 / 0.7133 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.9334, allocations: 6.466 MB / 0.7196 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/0.9338, allocations: 210.9 kB / 0.7199 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/3.942, allocations: 2.953 kB / 0.7199 GB, free: 5.992 MB / 0.5417 GB