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.Resistance.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.Resistance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_Resistance",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.01329/0.01329, 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.001256/0.001255, 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.924/3.924, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.333/4.333, allocations: 472.3 MB / 0.9018 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005002, allocations: 11.98 kB / 1.008 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7256, allocations: 98.72 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00432/0.73, allocations: 2.653 MB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.7325, allocations: 1.222 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.7328, allocations: 6.438 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.7329, allocations: 33.08 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.7334, allocations: 116 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.7339, allocations: 104.3 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.7344, allocations: 346.7 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.7348, allocations: 219.2 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.735, allocations: 101.6 kB / 1.109 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.7354, allocations: 129.2 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.7354, allocations: 11.16 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.7358, allocations: 81.88 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.7359, allocations: 68.77 kB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.736, allocations: 65.39 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.7364, allocations: 250.4 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.7364, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7364, allocations: 0 / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.7364, allocations: 3.438 kB / 1.109 GB, free: 209.8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008808/0.7373, allocations: 487.5 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.7374, allocations: 9.5 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.364e-05/0.7375, allocations: 60.98 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.7383, allocations: 86.52 kB / 1.11 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.7387, allocations: 242.7 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.7387, allocations: 15.34 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.7388, allocations: 16.59 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.7394, allocations: 288.8 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.7395, allocations: 5.734 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.7395, allocations: 13.14 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.7396, allocations: 20.28 kB / 1.111 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.7401, allocations: 192.6 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.7419, allocations: 1.464 MB / 1.112 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.7423, allocations: 176.6 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.7424, allocations: 37.8 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.7424, allocations: 2.766 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.7425, allocations: 35.41 kB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.895e-06/0.7425, allocations: 0 / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006308/0.7431, allocations: 239.3 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.7432, allocations: 56.34 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.7434, allocations: 194.1 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.7435, allocations: 30.27 kB / 1.113 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.7436, allocations: 166.1 kB / 1.113 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.7436, allocations: 26.38 kB / 1.113 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.7436, allocations: 0 / 1.113 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.7437, allocations: 329.2 kB / 1.113 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.7438, allocations: 29.92 kB / 1.113 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.7439, allocations: 100.6 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.7441, allocations: 53.92 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7441, allocations: 1.125 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004646/0.7446, allocations: 192.4 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7446, allocations: 6.375 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7446, allocations: 1.875 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.7448, allocations: 23.7 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.7451, allocations: 36.83 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.7462, allocations: 1.309 MB / 1.115 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.7464, allocations: 21.5 kB / 1.115 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.7464, allocations: 5.156 kB / 1.115 GB, free: 204.8 MB / 0.7292 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 (17): * Single equations (assignments): 16 * 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.0001757/0.7466, allocations: 151.1 kB / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.7467, allocations: 15.3 kB / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.7467, allocations: 21.14 kB / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7467, allocations: 5.031 kB / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7468, allocations: 0 / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7468, allocations: 0.9688 kB / 1.115 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.7474, allocations: 444.8 kB / 1.116 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7475, allocations: 4.469 kB / 1.116 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.7475, allocations: 10.72 kB / 1.116 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/0.7477, allocations: 20.73 kB / 1.116 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.7477, allocations: 1.125 kB / 1.116 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009492/0.7487, allocations: 1.322 MB / 1.117 GB, free: 203 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7487, allocations: 8.125 kB / 1.117 GB, free: 203 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.749, allocations: 201.2 kB / 1.117 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.7491, allocations: 98.86 kB / 1.117 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.7492, allocations: 0 / 1.117 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.7493, allocations: 8 kB / 1.117 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.7494, allocations: 13.02 kB / 1.117 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7494, allocations: 2.75 kB / 1.117 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001603/0.7496, allocations: 145.7 kB / 1.118 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-07/0.7496, allocations: 0 / 1.118 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004731/0.7501, allocations: 56.34 kB / 1.118 GB, free: 202.6 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 (6): * Single equations (assignments): 5 * 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.000509/0.7506, allocations: 0.7498 MB / 1.118 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.7511, allocations: 200.4 kB / 1.119 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7511, allocations: 2.031 kB / 1.119 GB, free: 201.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.7513, allocations: 150.1 kB / 1.119 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.7518, allocations: 49.73 kB / 1.119 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.7539, allocations: 1.019 MB / 1.12 GB, free: 200.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.7542, allocations: 0.7546 MB / 1.12 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.7544, allocations: 26.77 kB / 1.12 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.7545, allocations: 59.55 kB / 1.121 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/0.7545, allocations: 1.188 kB / 1.121 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.7834, allocations: 3.338 MB / 1.124 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.7837, allocations: 210.9 kB / 1.124 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.258, allocations: 0 / 1.124 GB, free: 199.9 MB / 0.7292 GB