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.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.01447/0.01447, allocations: 89.12 kB / 15.04 MB, free: 5.977 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.001983/0.001983, allocations: 171.1 kB / 15.92 MB, free: 5.938 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.188/2.188, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.651/2.651, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004881, allocations: 11.03 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2283, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006719/0.235, allocations: 3.499 MB / 0.7315 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.2391, allocations: 1.494 MB / 0.7329 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.2395, allocations: 4 kB / 0.7329 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.2398, allocations: 67.59 kB / 0.733 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009378/0.2408, allocations: 151.6 kB / 0.7332 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.2418, allocations: 167.6 kB / 0.7333 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.2426, allocations: 303.3 kB / 0.7336 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.2434, allocations: 397.7 kB / 0.734 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.2437, allocations: 159.4 kB / 0.7341 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.2442, allocations: 163.3 kB / 0.7343 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.2443, allocations: 20 kB / 0.7343 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.2447, allocations: 71.95 kB / 0.7344 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.2449, allocations: 115.7 kB / 0.7345 GB, free: 3.535 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2451, allocations: 93.52 kB / 0.7346 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.2458, allocations: 399.2 kB / 0.735 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2458, allocations: 0 / 0.735 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2458, allocations: 0 / 0.735 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.2459, allocations: 4 kB / 0.735 GB, free: 3.043 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001705/0.2476, allocations: 0.6239 MB / 0.7356 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.2476, allocations: 12.03 kB / 0.7356 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.2478, allocations: 78.47 kB / 0.7357 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.249, allocations: 119.4 kB / 0.7358 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.2497, allocations: 279.6 kB / 0.736 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.2499, allocations: 62.67 kB / 0.7361 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.25, allocations: 31.98 kB / 0.7361 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2515, allocations: 0.5007 MB / 0.7366 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.2515, allocations: 4 kB / 0.7366 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.2516, allocations: 19.95 kB / 0.7366 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/0.2517, allocations: 32.92 kB / 0.7367 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.253, allocations: 391.6 kB / 0.737 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.2573, allocations: 2.208 MB / 0.7392 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.2587, allocations: 282.6 kB / 0.7395 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.2588, allocations: 0 / 0.7395 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.2588, allocations: 38.56 kB / 0.7395 GB, free: 14.01 MB / 0.573 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/0.2588, allocations: 0 / 0.7395 GB, free: 14.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.002679/0.2615, allocations: 0.591 MB / 0.7401 GB, free: 13.37 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2616, allocations: 55.41 kB / 0.7401 GB, free: 13.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.262, allocations: 225 kB / 0.7404 GB, free: 13.07 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2621, allocations: 37.64 kB / 0.7404 GB, free: 13.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.2623, allocations: 207.6 kB / 0.7406 GB, free: 12.82 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.2624, allocations: 71.09 kB / 0.7407 GB, free: 12.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.2624, allocations: 4 kB / 0.7407 GB, free: 12.75 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2626, allocations: 326.8 kB / 0.741 GB, free: 12.42 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.263, allocations: 103.9 kB / 0.7411 GB, free: 12.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.2635, allocations: 178.4 kB / 0.7412 GB, free: 12.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.264, allocations: 124.9 kB / 0.7414 GB, free: 11.98 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.264, allocations: 0 / 0.7414 GB, free: 11.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00157/0.2656, allocations: 395.1 kB / 0.7417 GB, free: 11.59 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004613/0.266, allocations: 0.8769 MB / 0.7426 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2661, allocations: 4 kB / 0.7426 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.2669, allocations: 105.6 kB / 0.7427 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.2674, allocations: 59.91 kB / 0.7428 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/0.2724, allocations: 2.849 MB / 0.7455 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.2729, allocations: 43.92 kB / 0.7456 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.273, allocations: 8 kB / 0.7456 GB, free: 7.297 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.273, allocations: 4 kB / 0.7456 GB, free: 7.293 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/0.2743, allocations: 324.5 kB / 0.7459 GB, free: 6.973 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2744, allocations: 0 / 0.7459 GB, free: 6.973 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005279/0.2749, allocations: 80.91 kB / 0.746 GB, free: 6.891 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.2754, allocations: 59.91 kB / 0.746 GB, free: 6.832 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.2786, allocations: 1.514 MB / 0.7475 GB, free: 5.184 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.2791, allocations: 27.83 kB / 0.7475 GB, free: 5.156 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.2791, allocations: 12 kB / 0.7476 GB, free: 5.145 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.2795, allocations: 253 kB / 0.7478 GB, free: 4.887 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.2796, allocations: 27.78 kB / 0.7478 GB, free: 4.859 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.2797, allocations: 30.17 kB / 0.7478 GB, free: 4.832 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.2797, allocations: 4 kB / 0.7479 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2797, allocations: 0 / 0.7479 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2797, allocations: 0 / 0.7479 GB, free: 4.828 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.2804, allocations: 389.1 kB / 0.7482 GB, free: 4.398 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2805, allocations: 4 kB / 0.7482 GB, free: 4.395 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.2808, allocations: 39.91 kB / 0.7483 GB, free: 4.355 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006862/0.2815, allocations: 105.6 kB / 0.7484 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2815, allocations: 0 / 0.7484 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.2862, allocations: 2.83 MB / 0.7511 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2862, allocations: 0 / 0.7511 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2876, allocations: 424.1 kB / 0.7515 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.2879, allocations: 116.9 kB / 0.7516 GB, free: 0.582 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.2879, allocations: 0 / 0.7516 GB, free: 0.582 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.2882, allocations: 19.98 kB / 0.7517 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2883, allocations: 19.94 kB / 0.7517 GB, free: 0.543 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.2884, allocations: 4 kB / 0.7517 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002283/0.2886, allocations: 160.5 kB / 0.7518 GB, free: 392 kB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2886, allocations: 0 / 0.7518 GB, free: 392 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008823/0.2895, allocations: 175.3 kB / 0.752 GB, free: 216 kB / 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/0.2913, allocations: 0.9403 MB / 0.7529 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00322/0.2946, allocations: 0.7804 MB / 0.7537 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2946, allocations: 0 / 0.7537 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.296, allocations: 365.6 kB / 0.754 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.2966, allocations: 51.52 kB / 0.7541 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.3017, allocations: 3.027 MB / 0.757 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.3023, allocations: 0.8269 MB / 0.7578 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003869/0.3027, allocations: 54.25 kB / 0.7579 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3029, allocations: 87.39 kB / 0.758 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/0.3029, allocations: 0 / 0.758 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.3368, allocations: 6.48 MB / 0.7643 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004963/0.3374, allocations: 208.9 kB / 0.7645 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.171, allocations: 0 / 0.7645 GB, free: 3.336 MB / 0.5886 GB