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.RCModel.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.RCModel,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",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.01789/0.01789, allocations: 220.3 kB / 15.17 MB, free: 5.992 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.001264/0.001264, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.807/3.807, allocations: 389.1 MB / 405.9 MB, free: 13.33 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.375/4.375, allocations: 472.3 MB / 0.9017 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005864/0.0005865, allocations: 15.98 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7056/0.7062, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006179/0.7125, allocations: 3.807 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.7162, allocations: 1.726 MB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.7166, allocations: 10.84 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.7169, allocations: 64.95 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000731/0.7176, allocations: 222.1 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007831/0.7184, allocations: 177.9 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.7194, allocations: 0.69 MB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.7201, allocations: 381.8 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.7204, allocations: 195.5 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005934/0.721, allocations: 251.1 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.7211, allocations: 19.53 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.7216, allocations: 128.4 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.7218, allocations: 122.5 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.7219, allocations: 104.5 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.7226, allocations: 459.8 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7227, allocations: 0 / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7227, allocations: 0.9688 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.7227, allocations: 0 / 1.112 GB, free: 208.1 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001456/0.7242, allocations: 0.6631 MB / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.7242, allocations: 12.41 kB / 1.113 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.7243, allocations: 77.55 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.7259, allocations: 161.1 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.7265, allocations: 320.6 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.7266, allocations: 28.66 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.7267, allocations: 30.72 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.7279, allocations: 0.5273 MB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.7279, allocations: 0 / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.728, allocations: 24.97 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.7281, allocations: 31.89 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000938/0.729, allocations: 392.3 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.7325, allocations: 2.407 MB / 1.117 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007853/0.7334, allocations: 269.1 kB / 1.117 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.7336, allocations: 111.1 kB / 1.117 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.7337, allocations: 2.688 kB / 1.117 GB, free: 204.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.7337, allocations: 41.72 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 2.925e-06/0.7337, allocations: 0 / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.003329/0.7371, allocations: 1.117 MB / 1.118 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.7371, allocations: 57.62 kB / 1.118 GB, free: 203.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.7376, allocations: 304.2 kB / 1.119 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.7376, allocations: 30.92 kB / 1.119 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.7378, allocations: 229.3 kB / 1.119 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.7379, allocations: 86.8 kB / 1.119 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.7379, allocations: 5.281 kB / 1.119 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.738, allocations: 345.5 kB / 1.119 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.7383, allocations: 105.3 kB / 1.119 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.7386, allocations: 185.7 kB / 1.12 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.7389, allocations: 141.9 kB / 1.12 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.739, allocations: 1.469 kB / 1.12 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001201/0.7402, allocations: 435.4 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.7402, allocations: 5.594 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.7402, allocations: 3.219 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.7408, allocations: 94.38 kB / 1.12 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.7413, allocations: 65.22 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.7446, allocations: 4.077 MB / 1.124 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.7451, allocations: 15.42 kB / 1.124 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.7452, allocations: 9.344 kB / 1.124 GB, free: 198.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002936/0.7455, allocations: 186 kB / 1.124 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.7456, allocations: 31.72 kB / 1.124 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.7457, allocations: 40.94 kB / 1.125 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.7457, allocations: 3.469 kB / 1.125 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.7457, allocations: 1.188 kB / 1.125 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7457, allocations: 1.312 kB / 1.125 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.7463, allocations: 403 kB / 1.125 GB, free: 198 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7464, allocations: 1 kB / 1.125 GB, free: 198 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.7467, allocations: 39.44 kB / 1.125 GB, free: 198 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.7472, allocations: 92.22 kB / 1.125 GB, free: 197.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.7473, allocations: 7.656 kB / 1.125 GB, free: 197.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/0.7506, allocations: 4.059 MB / 1.129 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7506, allocations: 1.5 kB / 1.129 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.752, allocations: 0.5632 MB / 1.13 GB, free: 193.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.7522, allocations: 126.9 kB / 1.13 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.7523, allocations: 6.766 kB / 1.13 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.7526, allocations: 15.92 kB / 1.13 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.7528, allocations: 15.86 kB / 1.13 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.7528, allocations: 8.719 kB / 1.13 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003095/0.7531, allocations: 205.5 kB / 1.13 GB, free: 193.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7531, allocations: 1.094 kB / 1.13 GB, free: 193.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007175/0.7538, allocations: 99.12 kB / 1.13 GB, free: 193.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/0.7554, allocations: 1.1 MB / 1.131 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.7567, allocations: 0.6067 MB / 1.132 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7568, allocations: 1.062 kB / 1.132 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.7575, allocations: 479.7 kB / 1.132 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008234/0.7583, allocations: 71.78 kB / 1.132 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.7628, allocations: 2.056 MB / 1.134 GB, free: 190.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7633, allocations: 0.8435 MB / 1.135 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004316/0.7638, allocations: 61.98 kB / 1.135 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.764, allocations: 109.6 kB / 1.135 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.473e-06/0.764, allocations: 0 / 1.135 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.8008, allocations: 7.124 MB / 1.142 GB, free: 189.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/0.8011, allocations: 203.6 kB / 1.142 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.47, allocations: 1.75 kB / 1.142 GB, free: 189.5 MB / 0.7292 GB