Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.01024/0.01025, allocations: 92.88 kB / 15.04 MB, free: 5.582 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.0012/0.0012, allocations: 173.5 kB / 15.92 MB, free: 5.555 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.136/2.136, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.552/2.552, allocations: 252.8 MB / 0.511 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007442/0.0007446, allocations: 17.98 kB / 0.6243 GB, free: 21.17 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2641, allocations: 106.2 MB / 0.7281 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005027/0.2692, allocations: 2.716 MB / 0.7307 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.2722, allocations: 1.264 MB / 0.732 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.2724, allocations: 4 kB / 0.732 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2727, allocations: 39.7 kB / 0.732 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.2732, allocations: 115.6 kB / 0.7321 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.2737, allocations: 103.7 kB / 0.7322 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.2741, allocations: 183.6 kB / 0.7324 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.2745, allocations: 227.2 kB / 0.7326 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.2747, allocations: 107.6 kB / 0.7327 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.275, allocations: 91.61 kB / 0.7328 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.2751, allocations: 12 kB / 0.7328 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.2754, allocations: 83.81 kB / 0.7329 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2755, allocations: 63.81 kB / 0.7329 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.2756, allocations: 65.64 kB / 0.733 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.2761, allocations: 259.6 kB / 0.7332 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2761, allocations: 3.938 kB / 0.7333 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2761, allocations: 4 kB / 0.7333 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2761, allocations: 0 / 0.7333 GB, free: 2.703 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00105/0.2772, allocations: 0.4989 MB / 0.7337 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2773, allocations: 8.031 kB / 0.7337 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.368e-05/0.2774, allocations: 54.55 kB / 0.7338 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/0.2783, allocations: 103.5 kB / 0.7339 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.2787, allocations: 238.7 kB / 0.7341 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2788, allocations: 12.44 kB / 0.7341 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.2788, allocations: 16 kB / 0.7342 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/0.2796, allocations: 324.2 kB / 0.7345 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.2796, allocations: 3.984 kB / 0.7345 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.2797, allocations: 11.95 kB / 0.7345 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/0.2797, allocations: 16.44 kB / 0.7345 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.2804, allocations: 213.5 kB / 0.7347 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.2827, allocations: 1.505 MB / 0.7362 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.2834, allocations: 199.7 kB / 0.7364 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2835, allocations: 0 / 0.7364 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2835, allocations: 34.56 kB / 0.7364 GB, free: 15.16 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.2835, allocations: 4 kB / 0.7364 GB, free: 15.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0008953/0.2844, allocations: 267.6 kB / 0.7367 GB, free: 14.87 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2845, allocations: 55.41 kB / 0.7367 GB, free: 14.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.2848, allocations: 211.7 kB / 0.7369 GB, free: 14.59 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2848, allocations: 25.7 kB / 0.7369 GB, free: 14.55 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.285, allocations: 175.8 kB / 0.7371 GB, free: 14.38 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.2851, allocations: 27.64 kB / 0.7371 GB, free: 14.35 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.2851, allocations: 4 kB / 0.7371 GB, free: 14.34 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2853, allocations: 326.8 kB / 0.7374 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.2855, allocations: 51.91 kB / 0.7375 GB, free: 13.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2857, allocations: 114.9 kB / 0.7376 GB, free: 13.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.2859, allocations: 67.97 kB / 0.7377 GB, free: 13.76 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2859, allocations: 3.938 kB / 0.7377 GB, free: 13.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006448/0.2866, allocations: 214.2 kB / 0.7379 GB, free: 13.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2866, allocations: 8 kB / 0.7379 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2867, allocations: 0 / 0.7379 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.2869, allocations: 28.94 kB / 0.7379 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2872, allocations: 35.91 kB / 0.7379 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.2886, allocations: 1.342 MB / 0.7393 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.2889, allocations: 19.84 kB / 0.7393 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.2889, allocations: 15.88 kB / 0.7393 GB, free: 11.95 MB / 0.573 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 (18): * Single equations (assignments): 17 * 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.0002264/0.2891, allocations: 150 kB / 0.7394 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.2892, allocations: 15.81 kB / 0.7394 GB, free: 11.78 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.2893, allocations: 17.41 kB / 0.7395 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.2893, allocations: 7.984 kB / 0.7395 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2893, allocations: 0 / 0.7395 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2893, allocations: 0 / 0.7395 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.2903, allocations: 495.1 kB / 0.7399 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2903, allocations: 0 / 0.7399 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.2904, allocations: 15.98 kB / 0.74 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.2906, allocations: 24.84 kB / 0.74 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2906, allocations: 0 / 0.74 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.292, allocations: 1.327 MB / 0.7413 GB, free: 9.715 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.292, allocations: 0 / 0.7413 GB, free: 9.715 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.2925, allocations: 240.4 kB / 0.7415 GB, free: 9.461 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2926, allocations: 100.9 kB / 0.7416 GB, free: 9.344 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.2927, allocations: 4 kB / 0.7416 GB, free: 9.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2929, allocations: 7.984 kB / 0.7416 GB, free: 9.332 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.293, allocations: 4 kB / 0.7416 GB, free: 9.328 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.293, allocations: 11.98 kB / 0.7416 GB, free: 9.316 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001935/0.2932, allocations: 140.2 kB / 0.7418 GB, free: 9.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2932, allocations: 0 / 0.7418 GB, free: 9.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004905/0.2937, allocations: 59.78 kB / 0.7418 GB, free: 9.121 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 (7): * Single equations (assignments): 6 * 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.0008128/0.2946, allocations: 0.7844 MB / 0.7426 GB, free: 8.305 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000679/0.2953, allocations: 234.9 kB / 0.7428 GB, free: 8.062 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2953, allocations: 4.125 kB / 0.7428 GB, free: 8.059 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.2956, allocations: 166.6 kB / 0.743 GB, free: 7.883 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2961, allocations: 32.11 kB / 0.743 GB, free: 7.852 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.2991, allocations: 2.502 MB / 0.7454 GB, free: 5.258 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.2996, allocations: 0.7593 MB / 0.7462 GB, free: 4.469 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.2998, allocations: 33.52 kB / 0.7462 GB, free: 4.438 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3, allocations: 59.42 kB / 0.7463 GB, free: 4.379 MB / 0.573 GB Notification: Performance of SimCode: time 1.352e-06/0.3, allocations: 0 / 0.7463 GB, free: 4.379 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.3328, allocations: 3.615 MB / 0.7498 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.3332, allocations: 202 kB / 0.75 GB, free: 0.668 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/3.21, allocations: 0 / 0.75 GB, free: 0.668 MB / 0.573 GB