Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01357/0.01357, allocations: 88.19 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001278/0.001278, allocations: 171.8 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.321/2.321, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.565/2.565, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 20.53 kB / 0.6243 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2647, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01168/0.2765, allocations: 5.335 MB / 0.7333 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009416/0.2859, allocations: 4.122 MB / 0.7373 GB, free: 14.61 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.2867, allocations: 19.88 kB / 0.7373 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.2874, allocations: 139.2 kB / 0.7375 GB, free: 14.45 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.2901, allocations: 0.6229 MB / 0.7381 GB, free: 13.82 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.2912, allocations: 231.6 kB / 0.7383 GB, free: 13.6 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.293, allocations: 0.686 MB / 0.739 GB, free: 12.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009547/0.294, allocations: 488.4 kB / 0.7394 GB, free: 12.41 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.2948, allocations: 334.8 kB / 0.7397 GB, free: 12.08 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008575/0.2957, allocations: 370.5 kB / 0.7401 GB, free: 11.71 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2959, allocations: 32 kB / 0.7401 GB, free: 11.68 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.2965, allocations: 143.8 kB / 0.7403 GB, free: 11.54 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.2968, allocations: 183.4 kB / 0.7404 GB, free: 11.36 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.297, allocations: 165.3 kB / 0.7406 GB, free: 11.2 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2984, allocations: 0.8028 MB / 0.7414 GB, free: 10.39 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2984, allocations: 0 / 0.7414 GB, free: 10.39 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2984, allocations: 0 / 0.7414 GB, free: 10.39 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.2984, allocations: 0 / 0.7414 GB, free: 10.39 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00274/0.3012, allocations: 0.9814 MB / 0.7423 GB, free: 9.355 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3013, allocations: 12.02 kB / 0.7423 GB, free: 9.344 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002647/0.3015, allocations: 102.5 kB / 0.7424 GB, free: 9.234 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005662/0.3072, allocations: 0.6544 MB / 0.7431 GB, free: 8.578 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.309, allocations: 0.522 MB / 0.7436 GB, free: 8.016 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.3091, allocations: 49.27 kB / 0.7436 GB, free: 7.969 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3093, allocations: 52 kB / 0.7437 GB, free: 7.918 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/0.313, allocations: 1.014 MB / 0.7447 GB, free: 6.859 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.3131, allocations: 0 / 0.7447 GB, free: 6.859 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.3132, allocations: 24 kB / 0.7447 GB, free: 6.836 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.3133, allocations: 45.28 kB / 0.7447 GB, free: 6.789 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005103/0.3184, allocations: 1.016 MB / 0.7457 GB, free: 5.77 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008136/0.3266, allocations: 3.521 MB / 0.7492 GB, free: 1.945 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.3293, allocations: 0.5135 MB / 0.7497 GB, free: 1.426 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.3294, allocations: 8 kB / 0.7497 GB, free: 1.418 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3295, allocations: 42.48 kB / 0.7497 GB, free: 1.367 MB / 0.573 GB Notification: Performance of pre-optimization done (n=31): time 3.577e-06/0.3295, allocations: 0 / 0.7497 GB, free: 1.367 MB / 0.573 GB Notification: Performance of matching and sorting (n=43): time 0.01285/0.3424, allocations: 2.22 MB / 0.7519 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3425, allocations: 55.41 kB / 0.7519 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.3435, allocations: 0.5704 MB / 0.7525 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.3436, allocations: 29.7 kB / 0.7525 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.344, allocations: 352.2 kB / 0.7529 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.3443, allocations: 149.8 kB / 0.753 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3443, allocations: 8 kB / 0.753 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3445, allocations: 378.8 kB / 0.7534 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3458, allocations: 276.9 kB / 0.7536 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3472, allocations: 381.8 kB / 0.754 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.3486, allocations: 313.4 kB / 0.7543 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3486, allocations: 0 / 0.7543 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.005606/0.3543, allocations: 0.9783 MB / 0.7553 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005842/0.3549, allocations: 1.217 MB / 0.7564 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.3549, allocations: 4 kB / 0.7565 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.357, allocations: 276.8 kB / 0.7567 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3582, allocations: 127.8 kB / 0.7568 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.3696, allocations: 8.57 MB / 0.7652 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3708, allocations: 56.02 kB / 0.7653 GB, free: 400 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.3709, allocations: 19.95 kB / 0.7653 GB, free: 380 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3709, allocations: 4 kB / 0.7653 GB, free: 376 kB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004382/0.3753, allocations: 1.074 MB / 0.7663 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3754, allocations: 7.938 kB / 0.7663 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.3768, allocations: 217.1 kB / 0.7665 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3781, allocations: 139.8 kB / 0.7667 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009417/0.3876, allocations: 8.216 MB / 0.7747 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3887, allocations: 56.02 kB / 0.7748 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.3888, allocations: 16 kB / 0.7748 GB, free: 5.754 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005814/0.3894, allocations: 316.9 kB / 0.7751 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.3896, allocations: 75.05 kB / 0.7751 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.3898, allocations: 82.38 kB / 0.7752 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.3898, allocations: 4 kB / 0.7752 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.3899, allocations: 0 / 0.7752 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3899, allocations: 0 / 0.7752 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3912, allocations: 0.6455 MB / 0.7759 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3912, allocations: 0 / 0.7759 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.3922, allocations: 103.9 kB / 0.776 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.394, allocations: 260.8 kB / 0.7762 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.3941, allocations: 8.188 kB / 0.7762 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4044, allocations: 8.51 MB / 0.7845 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4044, allocations: 128 / 0.7845 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.4086, allocations: 0.9637 MB / 0.7855 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/0.4091, allocations: 188.2 kB / 0.7856 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.4093, allocations: 12 kB / 0.7857 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009037/0.4102, allocations: 47.95 kB / 0.7857 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.4104, allocations: 39.94 kB / 0.7857 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.4105, allocations: 12 kB / 0.7858 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007398/0.4112, allocations: 399.1 kB / 0.7861 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.505e-06/0.4112, allocations: 0 / 0.7861 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001654/0.4129, allocations: 303.9 kB / 0.7864 GB, free: 8.898 MB / 0.6198 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 (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00455/0.4175, allocations: 1.521 MB / 0.7879 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.006705/0.4242, allocations: 2.416 MB / 0.7903 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.4243, allocations: 4 kB / 0.7903 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/0.4268, allocations: 1.031 MB / 0.7913 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.4286, allocations: 195.8 kB / 0.7915 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.4446, allocations: 6.281 MB / 0.7976 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/0.4455, allocations: 1.002 MB / 0.7986 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001089/0.4466, allocations: 153.4 kB / 0.7987 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/0.4472, allocations: 239.3 kB / 0.7989 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of SimCode: time 1.863e-06/0.4472, allocations: 0 / 0.7989 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06015/0.5073, allocations: 18.39 MB / 0.8169 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/0.5077, allocations: 222 kB / 0.8171 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/3.885, allocations: 0 / 0.8171 GB, free: 9.227 MB / 0.6511 GB