Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.01033/0.01033, allocations: 88.84 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.001204/0.001203, allocations: 169.1 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.152/2.152, 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.636/2.636, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006854, allocations: 17.16 kB / 0.6243 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2372, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00638/0.2437, allocations: 3.26 MB / 0.7312 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.2478, allocations: 1.588 MB / 0.7328 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.2482, allocations: 7.938 kB / 0.7328 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.2486, allocations: 59.61 kB / 0.7329 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000852/0.2494, allocations: 155.5 kB / 0.733 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000822/0.2503, allocations: 163.5 kB / 0.7332 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007229/0.251, allocations: 263.5 kB / 0.7334 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005909/0.2516, allocations: 285.1 kB / 0.7337 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.252, allocations: 131.6 kB / 0.7338 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.2524, allocations: 139.4 kB / 0.7339 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.2525, allocations: 20 kB / 0.734 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.253, allocations: 115.8 kB / 0.7341 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.2532, allocations: 99.72 kB / 0.7342 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2533, allocations: 85.52 kB / 0.7343 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.254, allocations: 379.3 kB / 0.7346 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.254, allocations: 0 / 0.7346 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.475e-06/0.254, allocations: 0 / 0.7346 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2541, allocations: 0 / 0.7346 GB, free: 3.379 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001271/0.2553, allocations: 0.5768 MB / 0.7352 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2554, allocations: 8.031 kB / 0.7352 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.2555, allocations: 70.52 kB / 0.7353 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.257, allocations: 151.4 kB / 0.7354 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.2576, allocations: 275.6 kB / 0.7357 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.2576, allocations: 20.64 kB / 0.7357 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.2577, allocations: 28 kB / 0.7357 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.2588, allocations: 463.5 kB / 0.7361 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2588, allocations: 4 kB / 0.7362 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.2589, allocations: 15.95 kB / 0.7362 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/0.259, allocations: 24.55 kB / 0.7362 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008324/0.2598, allocations: 317.9 kB / 0.7365 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.2633, allocations: 2.193 MB / 0.7386 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.2639, allocations: 259.7 kB / 0.7389 GB, free: 14.63 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2639, allocations: 4 kB / 0.7389 GB, free: 14.62 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.264, allocations: 34.56 kB / 0.7389 GB, free: 14.58 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/0.264, allocations: 0 / 0.7389 GB, free: 14.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.0009049/0.2649, allocations: 315.2 kB / 0.7392 GB, free: 14.25 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.265, allocations: 51.41 kB / 0.7393 GB, free: 14.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.2654, allocations: 270.5 kB / 0.7395 GB, free: 13.92 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2655, allocations: 29.7 kB / 0.7396 GB, free: 13.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2657, allocations: 203.9 kB / 0.7397 GB, free: 13.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.2657, allocations: 47.27 kB / 0.7398 GB, free: 13.63 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.2657, allocations: 96 / 0.7398 GB, free: 13.63 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2659, allocations: 346.8 kB / 0.7401 GB, free: 13.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2661, allocations: 56.44 kB / 0.7402 GB, free: 13.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2663, allocations: 140 kB / 0.7403 GB, free: 13.05 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.2666, allocations: 91.09 kB / 0.7404 GB, free: 12.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2666, allocations: 0 / 0.7404 GB, free: 12.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007209/0.2673, allocations: 269.9 kB / 0.7407 GB, free: 12.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.2674, allocations: 7.953 kB / 0.7407 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2674, allocations: 4 kB / 0.7407 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.2676, allocations: 28.84 kB / 0.7407 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.268, allocations: 44.27 kB / 0.7407 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.2695, allocations: 1.335 MB / 0.742 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.2699, allocations: 27.94 kB / 0.7421 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.27, allocations: 12 kB / 0.7421 GB, free: 11.11 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 (27): * Single equations (assignments): 26 * 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.0002759/0.2702, allocations: 165.8 kB / 0.7422 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.2703, allocations: 27.67 kB / 0.7423 GB, free: 10.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.2704, allocations: 25.83 kB / 0.7423 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2704, allocations: 4 kB / 0.7423 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2704, allocations: 0 / 0.7423 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2705, allocations: 0 / 0.7423 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.2719, allocations: 0.6389 MB / 0.7429 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2719, allocations: 0 / 0.7429 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2721, allocations: 23.98 kB / 0.7429 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.2723, allocations: 24.97 kB / 0.743 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2723, allocations: 4 kB / 0.743 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.2737, allocations: 1.327 MB / 0.7443 GB, free: 8.648 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.2738, allocations: 0 / 0.7443 GB, free: 8.648 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.2744, allocations: 354.7 kB / 0.7446 GB, free: 8.246 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.2746, allocations: 116.8 kB / 0.7447 GB, free: 8.113 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.2747, allocations: 4 kB / 0.7447 GB, free: 8.109 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.275, allocations: 8 kB / 0.7447 GB, free: 8.102 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.2751, allocations: 19.92 kB / 0.7447 GB, free: 8.082 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2751, allocations: 4 kB / 0.7447 GB, free: 8.078 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002993/0.2754, allocations: 193.9 kB / 0.7449 GB, free: 7.891 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.234e-06/0.2754, allocations: 0 / 0.7449 GB, free: 7.891 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005851/0.276, allocations: 87.81 kB / 0.745 GB, free: 7.805 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.001089/0.2771, allocations: 1.167 MB / 0.7462 GB, free: 6.578 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007775/0.2779, allocations: 274.4 kB / 0.7464 GB, free: 6.297 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.278, allocations: 4 kB / 0.7464 GB, free: 6.293 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.2784, allocations: 179.5 kB / 0.7466 GB, free: 6.105 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.279, allocations: 51.34 kB / 0.7466 GB, free: 6.059 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.2831, allocations: 3.17 MB / 0.7497 GB, free: 2.785 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.2836, allocations: 0.7987 MB / 0.7505 GB, free: 1.961 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002979/0.284, allocations: 46.25 kB / 0.7506 GB, free: 1.918 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.2841, allocations: 79.42 kB / 0.7506 GB, free: 1.84 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/0.2842, allocations: 0 / 0.7506 GB, free: 1.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.3222, allocations: 4.834 MB / 0.7554 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000371/0.3226, allocations: 200.8 kB / 0.7555 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.051, allocations: 0 / 0.7555 GB, free: 12.91 MB / 0.5886 GB