Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.916/3.916, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5525/4.469, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/4.711, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7546/5.465, allocations: 175.3 MB / 0.7995 GB, free: 55.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/5.466, allocations: 87.58 kB / 0.7995 GB, free: 55.84 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.6758/6.142, allocations: 150.1 MB / 0.9461 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/6.142, allocations: 8 kB / 0.9461 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04635/6.188, allocations: 3.191 MB / 0.9492 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/6.2, allocations: 2.326 MB / 0.9515 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/6.2, allocations: 80 kB / 0.9516 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/6.202, allocations: 140 kB / 0.9517 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01419/6.216, allocations: 3.516 MB / 0.9551 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/6.232, allocations: 3.564 MB / 0.9586 GB, free: 7.535 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.369e-05/6.232, allocations: 3.906 kB / 0.9586 GB, free: 7.531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007385/6.233, allocations: 7.984 kB / 0.9586 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/6.233, allocations: 152.8 kB / 0.9588 GB, free: 7.371 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05154/6.285, allocations: 14.04 MB / 0.9725 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/6.288, allocations: 1.068 MB / 0.9735 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/6.292, allocations: 1.03 MB / 0.9745 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/6.292, allocations: 32.8 kB / 0.9745 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00596/6.298, allocations: 1.289 MB / 0.9758 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=163): time 1.184e-05/6.298, allocations: 0 / 0.9758 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=250): time 0.05202/6.35, allocations: 7.715 MB / 0.9833 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000593/6.351, allocations: 0.8983 MB / 0.9842 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/6.356, allocations: 1.564 MB / 0.9857 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00084/6.357, allocations: 33.7 kB / 0.9858 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/6.359, allocations: 0.9626 MB / 0.9867 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/6.36, allocations: 0.7773 MB / 0.9875 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/6.361, allocations: 0 / 0.9875 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003505/6.361, allocations: 406.6 kB / 0.9879 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004139/6.365, allocations: 1.246 MB / 0.9891 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/6.372, allocations: 1.609 MB / 0.9907 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006051/6.378, allocations: 1.347 MB / 0.992 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/6.378, allocations: 0 / 0.992 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02267/6.401, allocations: 4.423 MB / 0.9963 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001173/6.402, allocations: 2.273 MB / 0.9985 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.156e-05/6.402, allocations: 4 kB / 0.9985 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01484/6.417, allocations: 1.622 MB / 1 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00997/6.427, allocations: 0.6437 MB / 1.001 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03394/6.461, allocations: 8.718 MB / 1.009 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/6.471, allocations: 411.6 kB / 1.01 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/6.473, allocations: 91.97 kB / 1.01 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/6.473, allocations: 4 kB / 1.01 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01776/6.491, allocations: 3.683 MB / 1.013 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/6.491, allocations: 8.344 kB / 1.013 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008187/6.499, allocations: 1.426 MB / 1.015 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008254/6.507, allocations: 0.6947 MB / 1.015 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0359/6.543, allocations: 11.13 MB / 1.026 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007611/6.551, allocations: 419.4 kB / 1.027 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007784/6.552, allocations: 87.97 kB / 1.027 GB, free: 15.61 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * 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: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0009492/6.553, allocations: 167 kB / 1.027 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/6.554, allocations: 304.4 kB / 1.027 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/6.556, allocations: 333.2 kB / 1.028 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/6.556, allocations: 24 kB / 1.028 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-05/6.556, allocations: 8 kB / 1.028 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/6.556, allocations: 11.95 kB / 1.028 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008963/6.565, allocations: 2.859 MB / 1.03 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/6.565, allocations: 4 kB / 1.03 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007221/6.572, allocations: 0.5734 MB / 1.031 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/6.587, allocations: 1.658 MB / 1.033 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006766/6.588, allocations: 11.97 kB / 1.033 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04202/6.63, allocations: 12.67 MB / 1.045 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/6.63, allocations: 0 / 1.045 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01788/6.648, allocations: 4.227 MB / 1.049 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0185/6.666, allocations: 4.665 MB / 1.054 GB, free: 3.867 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/6.67, allocations: 0.6379 MB / 1.054 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/6.671, allocations: 11.98 kB / 1.054 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009101/6.68, allocations: 423.5 kB / 1.055 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/6.682, allocations: 233.6 kB / 1.055 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/6.682, allocations: 63.98 kB / 1.055 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.003369/6.686, allocations: 1.168 MB / 1.056 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009877/6.695, allocations: 1.367 MB / 1.057 GB, free: 15.94 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/6.697, allocations: 146.8 kB / 1.058 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03055/6.727, allocations: 6.894 MB / 1.064 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.137e-05/6.727, allocations: 4 kB / 1.064 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/6.739, allocations: 2.48 MB / 1.067 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009864/6.749, allocations: 0.8288 MB / 1.068 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/6.782, allocations: 5.19 MB / 1.073 GB, free: 268 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01001/6.793, allocations: 2.416 MB / 1.075 GB, free: 13.81 MB / 0.823 GB Notification: Performance of SimCode: time 3.206e-06/6.793, allocations: 0 / 1.075 GB, free: 13.81 MB / 0.823 GB