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.RCModel.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.RCModel,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01483/0.01482, allocations: 88.36 kB / 15.04 MB, free: 6.059 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.001887/0.001887, allocations: 170.2 kB / 15.92 MB, free: 5.996 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.228/2.228, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.605/2.605, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006591/0.0006592, allocations: 9.219 kB / 0.6243 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2295, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008214/0.2378, allocations: 3.689 MB / 0.7317 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005846/0.2437, allocations: 1.728 MB / 0.7334 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.2441, allocations: 8 kB / 0.7334 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.2446, allocations: 71.52 kB / 0.7334 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.2457, allocations: 195.4 kB / 0.7336 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2468, allocations: 183.6 kB / 0.7338 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009043/0.2477, allocations: 367.2 kB / 0.7341 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.2484, allocations: 387.1 kB / 0.7345 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.2488, allocations: 183.4 kB / 0.7347 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.2493, allocations: 171.3 kB / 0.7348 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.2494, allocations: 20 kB / 0.7349 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.2499, allocations: 119.8 kB / 0.735 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2501, allocations: 127.6 kB / 0.7351 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.2503, allocations: 97.52 kB / 0.7352 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008294/0.2511, allocations: 451.1 kB / 0.7356 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2512, allocations: 0 / 0.7356 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2512, allocations: 0 / 0.7356 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.2512, allocations: 0 / 0.7356 GB, free: 2.336 MB / 0.5573 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.001704/0.2529, allocations: 0.6666 MB / 0.7363 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.253, allocations: 11.97 kB / 0.7363 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.2531, allocations: 78.52 kB / 0.7364 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.2547, allocations: 167.3 kB / 0.7365 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.2555, allocations: 321.4 kB / 0.7368 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.2555, allocations: 28.94 kB / 0.7369 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.2556, allocations: 28 kB / 0.7369 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.257, allocations: 0.5314 MB / 0.7374 GB, free: 380 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.257, allocations: 3.938 kB / 0.7374 GB, free: 376 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.2571, allocations: 19.95 kB / 0.7374 GB, free: 356 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/0.2572, allocations: 32.64 kB / 0.7375 GB, free: 320 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.2583, allocations: 378.3 kB / 0.7378 GB, free: 15.94 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.2625, allocations: 2.415 MB / 0.7402 GB, free: 13.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008913/0.2635, allocations: 258.5 kB / 0.7404 GB, free: 13.04 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.2635, allocations: 4 kB / 0.7404 GB, free: 13.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.2636, allocations: 30.56 kB / 0.7405 GB, free: 13 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 5.58e-06/0.2636, allocations: 4 kB / 0.7405 GB, free: 13 MB / 0.573 GB Notification: Performance of matching and sorting (n=23): time 0.003604/0.2672, allocations: 1.128 MB / 0.7416 GB, free: 11.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2673, allocations: 59.39 kB / 0.7416 GB, free: 11.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.2678, allocations: 300.4 kB / 0.7419 GB, free: 11.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.2678, allocations: 33.7 kB / 0.7419 GB, free: 11.36 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.268, allocations: 227.6 kB / 0.7422 GB, free: 11.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2681, allocations: 78.91 kB / 0.7422 GB, free: 11.06 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.2682, allocations: 7.938 kB / 0.7422 GB, free: 11.05 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2683, allocations: 338.8 kB / 0.7426 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.2686, allocations: 104.6 kB / 0.7427 GB, free: 10.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.269, allocations: 179.8 kB / 0.7428 GB, free: 10.39 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.2694, allocations: 134 kB / 0.743 GB, free: 10.26 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2694, allocations: 4 kB / 0.743 GB, free: 10.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001881/0.2713, allocations: 445.8 kB / 0.7434 GB, free: 9.812 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.2714, allocations: 15.08 kB / 0.7434 GB, free: 9.801 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.2714, allocations: 4 kB / 0.7434 GB, free: 9.797 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.2721, allocations: 94.69 kB / 0.7435 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.2727, allocations: 59.91 kB / 0.7436 GB, free: 9.637 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/0.2774, allocations: 4.107 MB / 0.7476 GB, free: 5.125 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.2779, allocations: 16.05 kB / 0.7476 GB, free: 5.109 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.278, allocations: 16 kB / 0.7476 GB, free: 5.094 MB / 0.573 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.0003142/0.2783, allocations: 182.8 kB / 0.7478 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.2784, allocations: 35.58 kB / 0.7478 GB, free: 4.871 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.2785, allocations: 42.31 kB / 0.7478 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2785, allocations: 0 / 0.7478 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.2786, allocations: 4 kB / 0.7478 GB, free: 4.824 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2786, allocations: 4 kB / 0.7479 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.2793, allocations: 393.4 kB / 0.7482 GB, free: 4.387 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2793, allocations: 7.875 kB / 0.7482 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.2797, allocations: 43.92 kB / 0.7483 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.2803, allocations: 90.5 kB / 0.7484 GB, free: 4.238 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2803, allocations: 4 kB / 0.7484 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004468/0.2848, allocations: 4.087 MB / 0.7524 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2848, allocations: 0 / 0.7524 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.2863, allocations: 0.5565 MB / 0.7529 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.2865, allocations: 128.7 kB / 0.753 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.2866, allocations: 4 kB / 0.753 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.287, allocations: 16.05 kB / 0.753 GB, free: 15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.2871, allocations: 23.91 kB / 0.7531 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.2871, allocations: 8 kB / 0.7531 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000328/0.2875, allocations: 211 kB / 0.7533 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2875, allocations: 0 / 0.7533 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000707/0.2882, allocations: 96 kB / 0.7534 GB, free: 14.67 MB / 0.5886 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.001786/0.29, allocations: 1.104 MB / 0.7544 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.2914, allocations: 0.6013 MB / 0.755 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2914, allocations: 0 / 0.755 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.2922, allocations: 480.6 kB / 0.7555 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.293, allocations: 64.56 kB / 0.7556 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.2986, allocations: 3.706 MB / 0.7592 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.2992, allocations: 0.8386 MB / 0.76 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000402/0.2996, allocations: 58.94 kB / 0.76 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.2998, allocations: 115.4 kB / 0.7602 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of SimCode: time 1.463e-06/0.2999, allocations: 0 / 0.7602 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/0.3444, allocations: 7.105 MB / 0.7671 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/0.3448, allocations: 198.9 kB / 0.7673 GB, free: 304 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.108, allocations: 0 / 0.7673 GB, free: 304 kB / 0.5886 GB