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.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01514/0.01514, allocations: 106.9 kB / 15.05 MB, free: 6 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.001759/0.00176, allocations: 183 kB / 15.95 MB, free: 5.941 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.295/2.295, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.338/2.338, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006239/0.0006239, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6868, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3165/1.003, allocations: 152.6 MB / 0.8325 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/1.004, allocations: 95.94 kB / 0.8326 GB, free: 5.363 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.0747/1.079, allocations: 17.81 MB / 0.85 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.595e-06/1.079, allocations: 0 / 0.85 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.266e-05/1.079, allocations: 11.98 kB / 0.85 GB, free: 3.289 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001657/1.08, allocations: 0.6319 MB / 0.8506 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.08, allocations: 8.031 kB / 0.8506 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/1.081, allocations: 78.45 kB / 0.8507 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/1.082, allocations: 123.4 kB / 0.8508 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/1.083, allocations: 331.8 kB / 0.8511 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.083, allocations: 58.69 kB / 0.8512 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/1.083, allocations: 28 kB / 0.8512 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.084, allocations: 0.5007 MB / 0.8517 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.084, allocations: 0 / 0.8517 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/1.085, allocations: 16 kB / 0.8517 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/1.085, allocations: 28.94 kB / 0.8517 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/1.086, allocations: 391.7 kB / 0.8521 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/1.09, allocations: 2.216 MB / 0.8543 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.091, allocations: 270.6 kB / 0.8545 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/1.091, allocations: 4 kB / 0.8545 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/1.091, allocations: 38.81 kB / 0.8546 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 4.018e-06/1.091, allocations: 0 / 0.8546 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.004264/1.096, allocations: 0.6009 MB / 0.8552 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.096, allocations: 55.41 kB / 0.8552 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/1.096, allocations: 204.1 kB / 0.8554 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/1.096, allocations: 29.7 kB / 0.8554 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/1.097, allocations: 215.6 kB / 0.8557 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.097, allocations: 63.09 kB / 0.8557 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/1.097, allocations: 8 kB / 0.8557 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002216/1.097, allocations: 334.8 kB / 0.856 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000694/1.098, allocations: 99.92 kB / 0.8561 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/1.099, allocations: 183.9 kB / 0.8563 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008103/1.099, allocations: 120.9 kB / 0.8564 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.1, allocations: 0 / 0.8564 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002242/1.102, allocations: 393.4 kB / 0.8568 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005476/1.102, allocations: 0.8809 MB / 0.8577 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.102, allocations: 4 kB / 0.8577 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/1.104, allocations: 105.6 kB / 0.8578 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/1.104, allocations: 51.91 kB / 0.8578 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/1.11, allocations: 2.067 MB / 0.8598 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/1.111, allocations: 39.67 kB / 0.8599 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/1.111, allocations: 12 kB / 0.8599 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.111, allocations: 5.562 kB / 0.8599 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/1.112, allocations: 322.4 kB / 0.8602 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.112, allocations: 4 kB / 0.8602 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/1.113, allocations: 84.94 kB / 0.8603 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/1.113, allocations: 51.91 kB / 0.8603 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/1.117, allocations: 1.519 MB / 0.8618 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/1.117, allocations: 27.83 kB / 0.8618 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/1.117, allocations: 8 kB / 0.8618 GB, free: 6.27 MB / 0.6823 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.0003828/1.118, allocations: 260.9 kB / 0.8621 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/1.118, allocations: 23.72 kB / 0.8621 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/1.118, allocations: 30.17 kB / 0.8621 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/1.118, allocations: 8 kB / 0.8622 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.118, allocations: 0 / 0.8622 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.118, allocations: 0 / 0.8622 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/1.119, allocations: 377.3 kB / 0.8625 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.119, allocations: 3.938 kB / 0.8625 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/1.119, allocations: 31.97 kB / 0.8626 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006826/1.12, allocations: 105.6 kB / 0.8627 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/1.12, allocations: 4 kB / 0.8627 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/1.125, allocations: 2.838 MB / 0.8654 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.125, allocations: 0 / 0.8654 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/1.126, allocations: 409 kB / 0.8658 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/1.126, allocations: 120.8 kB / 0.8659 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/1.126, allocations: 3.953 kB / 0.8659 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/1.127, allocations: 19.92 kB / 0.866 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.127, allocations: 19.98 kB / 0.866 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/1.127, allocations: 7.984 kB / 0.866 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002426/1.127, allocations: 156.5 kB / 0.8661 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/1.127, allocations: 0 / 0.8661 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009211/1.128, allocations: 167.4 kB / 0.8663 GB, free: 1.352 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 (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.001865/1.13, allocations: 0.966 MB / 0.8672 GB, free: 360 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003328/1.133, allocations: 0.6657 MB / 0.8679 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.133, allocations: 0 / 0.8679 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/1.135, allocations: 365.6 kB / 0.8682 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/1.135, allocations: 58.77 kB / 0.8683 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/1.141, allocations: 3.011 MB / 0.8712 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/1.142, allocations: 0.8152 MB / 0.872 GB, free: 11.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005151/1.142, allocations: 58.23 kB / 0.8721 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/1.143, allocations: 87.41 kB / 0.8722 GB, free: 11.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.143, allocations: 0 / 0.8722 GB, free: 11.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/1.175, allocations: 6.373 MB / 0.8784 GB, free: 4.926 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/1.176, allocations: 209 kB / 0.8786 GB, free: 4.691 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.897, allocations: 0 / 0.8786 GB, free: 4.691 MB / 0.698 GB