Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.104/4.104, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.539/4.643, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/4.879, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2728/5.152, allocations: 150.9 MB / 0.7756 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005612/5.153, allocations: 95.56 kB / 0.7757 GB, free: 2.602 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/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/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: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.4265/5.579, allocations: 11.77 MB / 0.7872 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/5.579, allocations: 8.906 kB / 0.7872 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/5.581, allocations: 86.22 kB / 0.7873 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/5.582, allocations: 246.9 kB / 0.7875 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/5.582, allocations: 6.781 kB / 0.7876 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/5.582, allocations: 9.969 kB / 0.7876 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000779/5.583, allocations: 186.9 kB / 0.7877 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/5.584, allocations: 273.6 kB / 0.788 GB, free: 147 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/5.584, allocations: 1.094 kB / 0.788 GB, free: 147 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/5.584, allocations: 1.828 kB / 0.788 GB, free: 147 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/5.584, allocations: 17.52 kB / 0.788 GB, free: 147 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/5.587, allocations: 1.439 MB / 0.7894 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/5.588, allocations: 101.2 kB / 0.7895 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/5.588, allocations: 35.3 kB / 0.7896 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/5.588, allocations: 2.984 kB / 0.7896 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/5.588, allocations: 35.91 kB / 0.7896 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 4.438e-06/5.588, allocations: 0 / 0.7896 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0006556/5.589, allocations: 119.8 kB / 0.7897 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/5.589, allocations: 53.09 kB / 0.7898 GB, free: 145.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/5.59, allocations: 173.6 kB / 0.7899 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/5.59, allocations: 25.7 kB / 0.79 GB, free: 145.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/5.59, allocations: 164.4 kB / 0.7901 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/5.59, allocations: 30.06 kB / 0.7901 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/5.59, allocations: 4 kB / 0.7901 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001211/5.59, allocations: 327.5 kB / 0.7905 GB, free: 145 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/5.591, allocations: 37.67 kB / 0.7905 GB, free: 145 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/5.591, allocations: 96.19 kB / 0.7906 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/5.591, allocations: 59.38 kB / 0.7906 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/5.591, allocations: 0 / 0.7906 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005414/5.592, allocations: 184.1 kB / 0.7908 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/5.592, allocations: 9.375 kB / 0.7908 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/5.592, allocations: 2.969 kB / 0.7908 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/5.592, allocations: 24.83 kB / 0.7908 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/5.592, allocations: 34.61 kB / 0.7909 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/5.594, allocations: 1.262 MB / 0.7921 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/5.594, allocations: 25.48 kB / 0.7921 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/5.594, allocations: 6.25 kB / 0.7921 GB, free: 143.6 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/5.594, allocations: 107.6 kB / 0.7922 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/5.594, allocations: 15.94 kB / 0.7923 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/5.594, allocations: 23.64 kB / 0.7923 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/5.594, allocations: 1.312 kB / 0.7923 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/5.594, allocations: 0 / 0.7923 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/5.594, allocations: 5.828 kB / 0.7923 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/5.595, allocations: 223 kB / 0.7925 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/5.595, allocations: 0 / 0.7925 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/5.595, allocations: 11.88 kB / 0.7925 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/5.595, allocations: 22.97 kB / 0.7925 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/5.595, allocations: 0.6562 kB / 0.7925 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009753/5.596, allocations: 1.245 MB / 0.7938 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/5.596, allocations: 1.031 kB / 0.7938 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003354/5.596, allocations: 222.7 kB / 0.794 GB, free: 142 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003878/5.597, allocations: 0.5882 MB / 0.7945 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/5.597, allocations: 100.3 kB / 0.7946 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/5.597, allocations: 5.812 kB / 0.7946 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/5.597, allocations: 11.33 kB / 0.7947 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/5.597, allocations: 3.953 kB / 0.7947 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/5.597, allocations: 2.562 kB / 0.7947 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001518/5.597, allocations: 130.9 kB / 0.7948 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001324/5.599, allocations: 59.89 kB / 0.7948 GB, free: 141.2 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 (7): * Single equations (assignments): 6 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001528/5.599, allocations: 101.6 kB / 0.7949 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005768/5.6, allocations: 209.7 kB / 0.7951 GB, free: 141 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/5.6, allocations: 1 kB / 0.7951 GB, free: 141 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/5.6, allocations: 143.5 kB / 0.7953 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/5.6, allocations: 29.78 kB / 0.7953 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/5.602, allocations: 228.6 kB / 0.7955 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/5.602, allocations: 0.7798 MB / 0.7963 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of SimCode: time 3.697e-06/5.602, allocations: 5.406 kB / 0.7963 GB, free: 140.1 MB / 0.6511 GB