Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.Lines.Examples.DCLine,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01112/0.01112, allocations: 106.7 kB / 15.06 MB, free: 5.551 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.001243/0.001243, allocations: 180.7 kB / 15.95 MB, free: 5.516 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.201/2.201, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.498/2.498, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7694, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01226/0.7817, allocations: 5.33 MB / 0.6886 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.7939, allocations: 4.113 MB / 0.6926 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.795, allocations: 20.62 kB / 0.6927 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000847/0.7959, allocations: 136.4 kB / 0.6928 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.8, allocations: 0.6121 MB / 0.6934 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.8017, allocations: 243.7 kB / 0.6936 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002685/0.8044, allocations: 0.6705 MB / 0.6943 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.8059, allocations: 486.3 kB / 0.6947 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.8074, allocations: 345.2 kB / 0.6951 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.8093, allocations: 372.5 kB / 0.6954 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.8097, allocations: 32.44 kB / 0.6955 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.811, allocations: 142.1 kB / 0.6956 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.8116, allocations: 186.2 kB / 0.6958 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.8123, allocations: 162.8 kB / 0.6959 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.8151, allocations: 0.807 MB / 0.6967 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8152, allocations: 0 / 0.6967 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8152, allocations: 0 / 0.6967 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.905e-05/0.8153, allocations: 4 kB / 0.6967 GB, free: 8.488 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00412/0.8194, allocations: 0.9775 MB / 0.6977 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.8195, allocations: 8.469 kB / 0.6977 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005004/0.82, allocations: 101.7 kB / 0.6978 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008614/0.8287, allocations: 0.6613 MB / 0.6984 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.8309, allocations: 0.5209 MB / 0.6989 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.831, allocations: 47.47 kB / 0.699 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/0.8313, allocations: 52.45 kB / 0.699 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.8367, allocations: 1.007 MB / 0.7 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.8368, allocations: 4 kB / 0.7 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.837, allocations: 22.88 kB / 0.7 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.8372, allocations: 51.09 kB / 0.7001 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006622/0.8439, allocations: 1.011 MB / 0.7011 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009849/0.8538, allocations: 3.533 MB / 0.7045 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003706/0.8575, allocations: 0.5199 MB / 0.705 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.8577, allocations: 6.812 kB / 0.705 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.8577, allocations: 36.88 kB / 0.7051 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 4.348e-06/0.8577, allocations: 1.469 kB / 0.7051 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.01808/0.8758, allocations: 2.222 MB / 0.7072 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.876, allocations: 64.39 kB / 0.7073 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.8775, allocations: 0.5614 MB / 0.7079 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.8778, allocations: 30.98 kB / 0.7079 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.8782, allocations: 362.7 kB / 0.7082 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.8785, allocations: 148.8 kB / 0.7084 GB, free: 404 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.8786, allocations: 6.062 kB / 0.7084 GB, free: 400 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8788, allocations: 373.9 kB / 0.7087 GB, free: 32 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.8807, allocations: 273.2 kB / 0.709 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.8828, allocations: 381.5 kB / 0.7094 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.8849, allocations: 315.7 kB / 0.7097 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.885, allocations: 1.469 kB / 0.7097 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.006484/0.8915, allocations: 0.9709 MB / 0.7106 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007573/0.8923, allocations: 1.226 MB / 0.7118 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.8924, allocations: 6.25 kB / 0.7118 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.8951, allocations: 278.2 kB / 0.7121 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.8969, allocations: 128.1 kB / 0.7122 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.9124, allocations: 8.563 MB / 0.7206 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.9142, allocations: 51.83 kB / 0.7206 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.9144, allocations: 22.61 kB / 0.7206 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.9144, allocations: 12.45 kB / 0.7206 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006243/0.9207, allocations: 1.078 MB / 0.7217 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.9207, allocations: 3.312 kB / 0.7217 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.9227, allocations: 217.8 kB / 0.7219 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.9245, allocations: 139.9 kB / 0.722 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.9378, allocations: 8.216 MB / 0.7301 GB, free: 11.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.9396, allocations: 51.52 kB / 0.7301 GB, free: 11.61 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.9398, allocations: 26.41 kB / 0.7301 GB, free: 11.6 MB / 0.5574 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.001073/0.9409, allocations: 320.5 kB / 0.7304 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.9413, allocations: 72.86 kB / 0.7305 GB, free: 11.29 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.9417, allocations: 79.44 kB / 0.7306 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.9417, allocations: 8.016 kB / 0.7306 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/0.9417, allocations: 2.25 kB / 0.7306 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.9418, allocations: 0 / 0.7306 GB, free: 11.22 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.9439, allocations: 0.6513 MB / 0.7312 GB, free: 10.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.944, allocations: 0 / 0.7312 GB, free: 10.71 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.9455, allocations: 94.22 kB / 0.7313 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.9482, allocations: 264.2 kB / 0.7316 GB, free: 10.53 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.9484, allocations: 10.75 kB / 0.7316 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.963, allocations: 8.512 MB / 0.7399 GB, free: 1.227 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.963, allocations: 0 / 0.7399 GB, free: 1.227 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.9686, allocations: 0.9604 MB / 0.7408 GB, free: 236 kB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/0.9694, allocations: 184.2 kB / 0.741 GB, free: 32 kB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.9696, allocations: 15.98 kB / 0.741 GB, free: 16 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.971, allocations: 47.95 kB / 0.7411 GB, free: 15.97 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.9713, allocations: 39.92 kB / 0.7411 GB, free: 15.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.9714, allocations: 12 kB / 0.7411 GB, free: 15.92 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001089/0.9725, allocations: 399.1 kB / 0.7415 GB, free: 15.54 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9725, allocations: 0 / 0.7415 GB, free: 15.54 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002558/0.9751, allocations: 300 kB / 0.7418 GB, free: 15.24 MB / 0.573 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.005967/0.9811, allocations: 1.521 MB / 0.7433 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.008916/0.99, allocations: 2.415 MB / 0.7456 GB, free: 11.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.9901, allocations: 0 / 0.7456 GB, free: 11.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003387/0.9935, allocations: 1.019 MB / 0.7466 GB, free: 10 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.996, allocations: 195.7 kB / 0.7468 GB, free: 9.812 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.017, allocations: 6.285 MB / 0.753 GB, free: 3.398 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.018, allocations: 1.002 MB / 0.7539 GB, free: 2.371 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001602/1.02, allocations: 149.4 kB / 0.7541 GB, free: 2.223 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008054/1.021, allocations: 235.4 kB / 0.7543 GB, free: 1.992 MB / 0.573 GB Notification: Performance of SimCode: time 1.333e-06/1.021, allocations: 0 / 0.7543 GB, free: 1.992 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08184/1.103, allocations: 18.4 MB / 0.7723 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/1.103, allocations: 211.3 kB / 0.7725 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/4.492, allocations: 4 kB / 0.7725 GB, free: 15.61 MB / 0.6042 GB