Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.01525/0.01525, allocations: 107.7 kB / 15.05 MB, free: 5.93 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.001184/0.001184, allocations: 187.2 kB / 15.95 MB, free: 5.895 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 2.206/2.206, allocations: 194.6 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.532/2.532, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006706/0.0006705, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7668, allocations: 98.71 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/1.081, allocations: 152.4 MB / 0.8322 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/1.081, allocations: 95.94 kB / 0.8323 GB, free: 5.633 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.0825/1.164, allocations: 19.4 MB / 0.8513 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.468e-06/1.164, allocations: 4 kB / 0.8513 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.963e-05/1.164, allocations: 11.92 kB / 0.8513 GB, free: 1.965 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001659/1.166, allocations: 0.6158 MB / 0.8519 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.166, allocations: 12.03 kB / 0.8519 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/1.166, allocations: 74.86 kB / 0.852 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.167, allocations: 99.41 kB / 0.8521 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/1.168, allocations: 298.1 kB / 0.8524 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/1.168, allocations: 24.59 kB / 0.8524 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.551e-05/1.168, allocations: 32 kB / 0.8524 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/1.169, allocations: 481.9 kB / 0.8529 GB, free: 224 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/1.17, allocations: 7.922 kB / 0.8529 GB, free: 216 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/1.17, allocations: 12 kB / 0.8529 GB, free: 204 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/1.17, allocations: 28.64 kB / 0.8529 GB, free: 176 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/1.172, allocations: 390.2 kB / 0.8533 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/1.177, allocations: 2.06 MB / 0.8553 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/1.178, allocations: 226.8 kB / 0.8555 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/1.178, allocations: 0 / 0.8555 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.178, allocations: 34.5 kB / 0.8555 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/1.178, allocations: 8 kB / 0.8556 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.002373/1.18, allocations: 460.6 kB / 0.856 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/1.18, allocations: 63.36 kB / 0.8561 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/1.181, allocations: 233.7 kB / 0.8563 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/1.181, allocations: 29.7 kB / 0.8563 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.181, allocations: 211.7 kB / 0.8565 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.181, allocations: 59.11 kB / 0.8566 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/1.181, allocations: 4 kB / 0.8566 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.182, allocations: 334.8 kB / 0.8569 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/1.182, allocations: 112.4 kB / 0.857 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/1.183, allocations: 210.7 kB / 0.8572 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/1.184, allocations: 136.5 kB / 0.8573 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.184, allocations: 4 kB / 0.8573 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00198/1.186, allocations: 380 kB / 0.8577 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000779/1.187, allocations: 1.314 MB / 0.859 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/1.187, allocations: 4 kB / 0.859 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/1.187, allocations: 32.78 kB / 0.859 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/1.188, allocations: 71.89 kB / 0.8591 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007227/1.189, allocations: 0.5562 MB / 0.8596 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/1.189, allocations: 47.61 kB / 0.8597 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/1.19, allocations: 16 kB / 0.8597 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.19, allocations: 4 kB / 0.8597 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/1.191, allocations: 307.8 kB / 0.86 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/1.191, allocations: 0 / 0.86 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.191, allocations: 8 kB / 0.86 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/1.192, allocations: 80.11 kB / 0.8601 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.192, allocations: 7.938 kB / 0.8601 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/1.193, allocations: 39.73 kB / 0.8601 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/1.193, allocations: 12 kB / 0.8601 GB, free: 8.324 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004289/1.193, allocations: 251.2 kB / 0.8604 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.193, allocations: 27.72 kB / 0.8604 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/1.193, allocations: 34.17 kB / 0.8604 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/1.193, allocations: 4 kB / 0.8604 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.193, allocations: 0 / 0.8604 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.193, allocations: 3.984 kB / 0.8604 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/1.194, allocations: 349.4 kB / 0.8608 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.194, allocations: 0 / 0.8608 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/1.195, allocations: 47.97 kB / 0.8608 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/1.195, allocations: 24.84 kB / 0.8608 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/1.195, allocations: 4 kB / 0.8608 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.197, allocations: 1.339 MB / 0.8621 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.197, allocations: 0 / 0.8621 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/1.199, allocations: 380 kB / 0.8625 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/1.199, allocations: 116.8 kB / 0.8626 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/1.199, allocations: 0 / 0.8626 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/1.199, allocations: 27.97 kB / 0.8626 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.2, allocations: 19.92 kB / 0.8627 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/1.2, allocations: 4 kB / 0.8627 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004102/1.2, allocations: 182 kB / 0.8628 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.81e-07/1.2, allocations: 0 / 0.8628 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001326/1.201, allocations: 147.5 kB / 0.863 GB, free: 5.168 MB / 0.6823 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 (17): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00206/1.204, allocations: 0.922 MB / 0.8639 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002322/1.206, allocations: 428.1 kB / 0.8643 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.206, allocations: 0.9375 kB / 0.8643 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/1.207, allocations: 230.6 kB / 0.8645 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/1.208, allocations: 67.64 kB / 0.8646 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/1.215, allocations: 3.8 MB / 0.8683 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/1.215, allocations: 0.7994 MB / 0.8691 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006397/1.216, allocations: 78.16 kB / 0.8691 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/1.216, allocations: 83.41 kB / 0.8692 GB, free: 14.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.216, allocations: 0 / 0.8692 GB, free: 14.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/1.286, allocations: 5.514 MB / 0.8746 GB, free: 9.234 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/1.287, allocations: 218.1 kB / 0.8748 GB, free: 8.992 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.849, allocations: 0 / 0.8748 GB, free: 8.992 MB / 0.698 GB