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.01298/0.01298, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001231/0.001231, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.83/3.83, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.359/4.359, allocations: 472.3 MB / 0.9017 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 15.94 kB / 1.008 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.6881, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008921/0.6971, allocations: 5.536 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008668/0.7058, allocations: 4.216 MB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/0.7067, allocations: 22.16 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.7073, allocations: 133.6 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.7103, allocations: 0.6213 MB / 1.114 GB, free: 206 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.7114, allocations: 248.6 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.7138, allocations: 1.196 MB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.7148, allocations: 488 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009837/0.7159, allocations: 371.5 kB / 1.117 GB, free: 205 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.7171, allocations: 470.9 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.7173, allocations: 33.06 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007259/0.7181, allocations: 143.1 kB / 1.117 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.7184, allocations: 203.9 kB / 1.117 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.7187, allocations: 166.9 kB / 1.118 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.7201, allocations: 0.8121 MB / 1.118 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7202, allocations: 2.625 kB / 1.118 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7202, allocations: 0 / 1.118 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.7202, allocations: 0 / 1.118 GB, free: 204.4 MB / 0.7292 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.002664/0.7229, allocations: 0.981 MB / 1.119 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.7229, allocations: 8.812 kB / 1.119 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/0.7232, allocations: 96.97 kB / 1.119 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005867/0.729, allocations: 0.6626 MB / 1.12 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.7306, allocations: 0.5208 MB / 1.121 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.7307, allocations: 41.77 kB / 1.121 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.7309, allocations: 53.73 kB / 1.121 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.7345, allocations: 1.018 MB / 1.122 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.7346, allocations: 1.031 kB / 1.122 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.7348, allocations: 25 kB / 1.122 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.7349, allocations: 48.11 kB / 1.122 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004534/0.7394, allocations: 1.02 MB / 1.123 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007449/0.7469, allocations: 3.535 MB / 1.126 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.7499, allocations: 0.5235 MB / 1.127 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.7512, allocations: 242.8 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.7513, allocations: 7.594 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.7513, allocations: 36.61 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 3.055e-06/0.7513, allocations: 1.062 kB / 1.127 GB, free: 199.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.01344/0.7648, allocations: 2.225 MB / 1.129 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.7649, allocations: 56.97 kB / 1.129 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.7659, allocations: 0.5642 MB / 1.13 GB, free: 198.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.7661, allocations: 36.08 kB / 1.13 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.7664, allocations: 350.3 kB / 1.13 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.7665, allocations: 152.8 kB / 1.13 GB, free: 198 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.7666, allocations: 10.31 kB / 1.13 GB, free: 198 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7667, allocations: 368.8 kB / 1.131 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.7681, allocations: 276.6 kB / 1.131 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.7694, allocations: 392.6 kB / 1.131 GB, free: 197.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.7708, allocations: 312.2 kB / 1.132 GB, free: 197.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7708, allocations: 1.312 kB / 1.132 GB, free: 197.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00446/0.7753, allocations: 0.973 MB / 1.133 GB, free: 197 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.7755, allocations: 182.5 kB / 1.133 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7755, allocations: 3.781 kB / 1.133 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.7775, allocations: 276.6 kB / 1.133 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.7787, allocations: 133.2 kB / 1.133 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/0.7873, allocations: 8.463 MB / 1.141 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.7886, allocations: 56.11 kB / 1.141 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.7887, allocations: 20.42 kB / 1.141 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.7887, allocations: 4.125 kB / 1.141 GB, free: 188.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004147/0.7929, allocations: 1.088 MB / 1.143 GB, free: 188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.793, allocations: 3.484 kB / 1.143 GB, free: 188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.7943, allocations: 218 kB / 1.143 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.7956, allocations: 133.3 kB / 1.143 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.8027, allocations: 8.154 MB / 1.151 GB, free: 179.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.804, allocations: 59.05 kB / 1.151 GB, free: 179.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.8041, allocations: 23.23 kB / 1.151 GB, free: 179.9 MB / 0.7292 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.0005758/0.8047, allocations: 311 kB / 1.151 GB, free: 179.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.8048, allocations: 69.97 kB / 1.151 GB, free: 179.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.805, allocations: 79.98 kB / 1.151 GB, free: 179.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.805, allocations: 9.719 kB / 1.151 GB, free: 179.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/0.8051, allocations: 8.922 kB / 1.151 GB, free: 179.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.8051, allocations: 2.297 kB / 1.151 GB, free: 179.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.8064, allocations: 0.6392 MB / 1.152 GB, free: 179.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8064, allocations: 0 / 1.152 GB, free: 179.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/0.8074, allocations: 103.9 kB / 1.152 GB, free: 179.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/0.8092, allocations: 261.8 kB / 1.152 GB, free: 179.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.8093, allocations: 8.375 kB / 1.152 GB, free: 179.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007984/0.8173, allocations: 8.422 MB / 1.161 GB, free: 171 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8173, allocations: 0 / 1.161 GB, free: 171 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.8215, allocations: 0.9651 MB / 1.161 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.822, allocations: 187.9 kB / 1.162 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.8222, allocations: 7.797 kB / 1.162 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.8231, allocations: 53.42 kB / 1.162 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.8234, allocations: 37.75 kB / 1.162 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.8234, allocations: 13.59 kB / 1.162 GB, free: 170.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007366/0.8242, allocations: 398.2 kB / 1.162 GB, free: 170.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8242, allocations: 0.9688 kB / 1.162 GB, free: 170.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001849/0.8261, allocations: 301 kB / 1.162 GB, free: 170.2 MB / 0.7292 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.00446/0.8306, allocations: 1.519 MB / 1.164 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006477/0.8371, allocations: 2.403 MB / 1.166 GB, free: 167.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.8371, allocations: 0 / 1.166 GB, free: 167.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.8394, allocations: 1.027 MB / 1.167 GB, free: 166.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.8412, allocations: 211.2 kB / 1.167 GB, free: 166.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.8542, allocations: 4.358 MB / 1.172 GB, free: 164.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.8549, allocations: 0.991 MB / 1.173 GB, free: 163.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001113/0.856, allocations: 158.6 kB / 1.173 GB, free: 163.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.8565, allocations: 236.8 kB / 1.173 GB, free: 163.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.433e-06/0.8565, allocations: 0 / 1.173 GB, free: 163.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05923/0.9157, allocations: 18.42 MB / 1.191 GB, free: 146.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.916, allocations: 214.3 kB / 1.191 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/4.193, allocations: 0 / 1.191 GB, free: 146.5 MB / 0.7292 GB