Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",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.108/4.108, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5527/4.66, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/4.886, allocations: 98.74 MB / 0.6283 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6668/5.553, allocations: 154.7 MB / 0.7794 GB, free: 44.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/5.553, allocations: 93.77 kB / 0.7795 GB, free: 44.49 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/DC/Conversion/DCDCConverter.mo:24:3-24:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.05999/5.613, allocations: 16.64 MB / 0.7957 GB, free: 42.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/5.614, allocations: 7.75 kB / 0.7957 GB, free: 42.74 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/5.615, allocations: 122.8 kB / 0.7958 GB, free: 42.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/5.616, allocations: 277 kB / 0.7961 GB, free: 42.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/5.616, allocations: 37.98 kB / 0.7961 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/5.616, allocations: 15.44 kB / 0.7962 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007556/5.617, allocations: 278.8 kB / 0.7964 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/5.617, allocations: 368.9 kB / 0.7968 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/5.617, allocations: 3.984 kB / 0.7968 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/5.618, allocations: 0 / 0.7968 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/5.618, allocations: 24.39 kB / 0.7968 GB, free: 42.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/5.621, allocations: 2.045 MB / 0.7988 GB, free: 40.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/5.621, allocations: 169.1 kB / 0.799 GB, free: 40.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/5.622, allocations: 122.8 kB / 0.7991 GB, free: 40.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/5.622, allocations: 7.125 kB / 0.7991 GB, free: 40.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/5.622, allocations: 32.53 kB / 0.7991 GB, free: 40.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=17): time 3.016e-06/5.622, allocations: 4 kB / 0.7991 GB, free: 40.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17): time 0.0004812/5.622, allocations: 159.2 kB / 0.7993 GB, free: 40.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/5.622, allocations: 55.28 kB / 0.7993 GB, free: 40.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/5.623, allocations: 171.6 kB / 0.7995 GB, free: 40.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/5.623, allocations: 25.7 kB / 0.7995 GB, free: 40.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/5.623, allocations: 187.9 kB / 0.7997 GB, free: 40.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/5.623, allocations: 59.23 kB / 0.7997 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/5.623, allocations: 0 / 0.7997 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/5.623, allocations: 334.7 kB / 0.8001 GB, free: 39.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/5.623, allocations: 60.09 kB / 0.8001 GB, free: 39.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/5.623, allocations: 158.8 kB / 0.8003 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/5.624, allocations: 80.92 kB / 0.8004 GB, free: 39.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/5.624, allocations: 3.875 kB / 0.8004 GB, free: 39.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005262/5.624, allocations: 230.5 kB / 0.8006 GB, free: 39.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/5.624, allocations: 1.317 MB / 0.8019 GB, free: 38.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/5.624, allocations: 7.219 kB / 0.8019 GB, free: 38.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/5.625, allocations: 11.12 kB / 0.8019 GB, free: 38.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/5.625, allocations: 67.69 kB / 0.8019 GB, free: 38.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/5.627, allocations: 1.257 MB / 0.8032 GB, free: 37.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/5.627, allocations: 33.83 kB / 0.8032 GB, free: 37.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/5.627, allocations: 10.84 kB / 0.8032 GB, free: 37.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/5.627, allocations: 3.781 kB / 0.8032 GB, free: 37.09 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004439/5.627, allocations: 187.4 kB / 0.8034 GB, free: 37.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/5.627, allocations: 2.938 kB / 0.8034 GB, free: 37.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/5.627, allocations: 6.594 kB / 0.8034 GB, free: 37.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/5.628, allocations: 75.72 kB / 0.8035 GB, free: 37.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000928/5.629, allocations: 1.253 MB / 0.8047 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/5.63, allocations: 25.78 kB / 0.8047 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/5.63, allocations: 11.75 kB / 0.8047 GB, free: 35.79 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/5.63, allocations: 108.8 kB / 0.8048 GB, free: 35.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/5.63, allocations: 23.31 kB / 0.8049 GB, free: 35.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.22e-05/5.63, allocations: 21.12 kB / 0.8049 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/5.63, allocations: 6.25 kB / 0.8049 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/5.63, allocations: 7.781 kB / 0.8049 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/5.63, allocations: 0 / 0.8049 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/5.632, allocations: 0.6462 MB / 0.8055 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/5.632, allocations: 0 / 0.8055 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/5.633, allocations: 60.31 kB / 0.8056 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/5.633, allocations: 7.75 kB / 0.8056 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/5.633, allocations: 0 / 0.8056 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/5.633, allocations: 3.875 kB / 0.8056 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/5.633, allocations: 3.906 kB / 0.8056 GB, free: 35.22 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005618/5.634, allocations: 344.8 kB / 0.8059 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004683/5.634, allocations: 0.7149 MB / 0.8066 GB, free: 34.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/5.634, allocations: 113.4 kB / 0.8067 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/5.635, allocations: 6.688 kB / 0.8067 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/5.635, allocations: 14.33 kB / 0.8068 GB, free: 34.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/5.635, allocations: 10.2 kB / 0.8068 GB, free: 34.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/5.635, allocations: 7.781 kB / 0.8068 GB, free: 34.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002163/5.635, allocations: 127.9 kB / 0.8069 GB, free: 34.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002832/5.638, allocations: 112.8 kB / 0.807 GB, free: 34.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/5.638, allocations: 112.4 kB / 0.8071 GB, free: 33.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00171/5.64, allocations: 274.4 kB / 0.8074 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/5.64, allocations: 0 / 0.8074 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006886/5.641, allocations: 85.56 kB / 0.8075 GB, free: 33.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/5.641, allocations: 41.89 kB / 0.8075 GB, free: 33.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/5.642, allocations: 349.3 kB / 0.8078 GB, free: 33.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/5.643, allocations: 0.8116 MB / 0.8086 GB, free: 33.08 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/5.643, allocations: 0 / 0.8086 GB, free: 33.08 MB / 0.6511 GB