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.DCLine.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.DCLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",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 4.034/4.034, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5745/4.608, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/4.843, allocations: 98.72 MB / 0.6283 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.754/5.597, allocations: 166.1 MB / 0.7905 GB, free: 64.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/5.597, allocations: 89.66 kB / 0.7906 GB, free: 64.43 MB / 0.6511 GB [/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);. [/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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.1604/5.758, allocations: 37.16 MB / 0.8269 GB, free: 59.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/5.758, allocations: 7.719 kB / 0.8269 GB, free: 59.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006728/5.764, allocations: 0.6313 MB / 0.8275 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/5.767, allocations: 0.5881 MB / 0.8281 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/5.767, allocations: 15.62 kB / 0.8281 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/5.767, allocations: 31.34 kB / 0.8281 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002009/5.769, allocations: 0.7127 MB / 0.8288 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/5.771, allocations: 0.8125 MB / 0.8296 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/5.771, allocations: 0 / 0.8296 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/5.771, allocations: 3.906 kB / 0.8296 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.601e-05/5.771, allocations: 45.97 kB / 0.8297 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007502/5.779, allocations: 3.45 MB / 0.833 GB, free: 56.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/5.78, allocations: 266.7 kB / 0.8333 GB, free: 56.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/5.78, allocations: 175.7 kB / 0.8334 GB, free: 56.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/5.78, allocations: 4.75 kB / 0.8335 GB, free: 56.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/5.78, allocations: 38.89 kB / 0.8335 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.527e-06/5.78, allocations: 0 / 0.8335 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.004803/5.785, allocations: 1.139 MB / 0.8346 GB, free: 56.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/5.785, allocations: 132.4 kB / 0.8347 GB, free: 56.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/5.787, allocations: 398 kB / 0.8351 GB, free: 56.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/5.787, allocations: 25.7 kB / 0.8351 GB, free: 56.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/5.787, allocations: 290.9 kB / 0.8354 GB, free: 56.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/5.788, allocations: 149.4 kB / 0.8356 GB, free: 55.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/5.788, allocations: 0 / 0.8356 GB, free: 55.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002149/5.788, allocations: 362.6 kB / 0.8359 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/5.789, allocations: 183 kB / 0.8361 GB, free: 55.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/5.79, allocations: 312.7 kB / 0.8364 GB, free: 55.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/5.791, allocations: 222.5 kB / 0.8366 GB, free: 55.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/5.791, allocations: 7.875 kB / 0.8366 GB, free: 55.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004687/5.796, allocations: 0.7456 MB / 0.8373 GB, free: 55.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003773/5.796, allocations: 1.216 MB / 0.8385 GB, free: 54.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/5.796, allocations: 3.906 kB / 0.8385 GB, free: 54.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/5.799, allocations: 236.1 kB / 0.8387 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/5.801, allocations: 135.4 kB / 0.8389 GB, free: 54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/5.808, allocations: 5.701 MB / 0.8444 GB, free: 48.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/5.81, allocations: 52.44 kB / 0.8445 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/5.81, allocations: 20.95 kB / 0.8445 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/5.81, allocations: 3.875 kB / 0.8445 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002226/5.812, allocations: 1.039 MB / 0.8455 GB, free: 48.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/5.812, allocations: 7.969 kB / 0.8455 GB, free: 48.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/5.813, allocations: 144.9 kB / 0.8457 GB, free: 48.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/5.814, allocations: 148.5 kB / 0.8458 GB, free: 48.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/5.821, allocations: 7.451 MB / 0.8531 GB, free: 40.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/5.822, allocations: 55.39 kB / 0.8531 GB, free: 40.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/5.822, allocations: 26.95 kB / 0.8532 GB, free: 40.65 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/5.823, allocations: 116.1 kB / 0.8533 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/5.823, allocations: 58.59 kB / 0.8533 GB, free: 40.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/5.823, allocations: 64.69 kB / 0.8534 GB, free: 40.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/5.823, allocations: 11.72 kB / 0.8534 GB, free: 40.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/5.823, allocations: 0 / 0.8534 GB, free: 40.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/5.823, allocations: 0 / 0.8534 GB, free: 40.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/5.824, allocations: 0.5714 MB / 0.854 GB, free: 40.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/5.824, allocations: 4 kB / 0.854 GB, free: 40.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/5.825, allocations: 109.8 kB / 0.8541 GB, free: 40.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/5.827, allocations: 236.5 kB / 0.8543 GB, free: 40.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/5.827, allocations: 0 / 0.8543 GB, free: 40.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/5.837, allocations: 7.919 MB / 0.862 GB, free: 32.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/5.837, allocations: 0 / 0.862 GB, free: 32.54 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004039/5.841, allocations: 0.7592 MB / 0.8628 GB, free: 32.21 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00378/5.845, allocations: 1.125 MB / 0.8639 GB, free: 31.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/5.846, allocations: 176.9 kB / 0.864 GB, free: 31.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/5.846, allocations: 3.938 kB / 0.864 GB, free: 31.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/5.848, allocations: 55.14 kB / 0.8641 GB, free: 31.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/5.848, allocations: 23.27 kB / 0.8641 GB, free: 31.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-05/5.848, allocations: 19.16 kB / 0.8641 GB, free: 31.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007245/5.849, allocations: 300.9 kB / 0.8644 GB, free: 31.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004745/5.854, allocations: 269.6 kB / 0.8647 GB, free: 31.22 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004949/5.854, allocations: 118.7 kB / 0.8648 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003812/5.858, allocations: 1.711 MB / 0.8665 GB, free: 30.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/5.858, allocations: 0 / 0.8665 GB, free: 30.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/5.86, allocations: 0.851 MB / 0.8673 GB, free: 29.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/5.862, allocations: 172.6 kB / 0.8675 GB, free: 29.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/5.866, allocations: 0.9186 MB / 0.8684 GB, free: 28.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/5.867, allocations: 1.022 MB / 0.8694 GB, free: 28.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.994e-06/5.867, allocations: 0 / 0.8694 GB, free: 28.16 MB / 0.6511 GB