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.RCModel.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.RCModel,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",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.917/3.917, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5775/4.495, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/4.741, allocations: 98.73 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7383/5.48, allocations: 156.7 MB / 0.7813 GB, free: 56.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/5.48, allocations: 91.14 kB / 0.7814 GB, free: 56.12 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/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/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/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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.07763/5.558, allocations: 18.03 MB / 0.799 GB, free: 54.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/5.558, allocations: 11.72 kB / 0.799 GB, free: 54.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/5.561, allocations: 160.1 kB / 0.7991 GB, free: 54.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/5.562, allocations: 349.7 kB / 0.7995 GB, free: 53.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/5.562, allocations: 11.72 kB / 0.7995 GB, free: 53.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/5.562, allocations: 23.47 kB / 0.7995 GB, free: 53.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009473/5.563, allocations: 347.8 kB / 0.7998 GB, free: 53.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/5.564, allocations: 485.7 kB / 0.8003 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/5.564, allocations: 0 / 0.8003 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/5.564, allocations: 0 / 0.8003 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/5.564, allocations: 34.67 kB / 0.8003 GB, free: 53.67 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/5.569, allocations: 2.335 MB / 0.8026 GB, free: 51.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/5.569, allocations: 124.1 kB / 0.8027 GB, free: 51.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/5.569, allocations: 108.9 kB / 0.8028 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/5.569, allocations: 7.859 kB / 0.8029 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/5.569, allocations: 42.44 kB / 0.8029 GB, free: 51.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.626e-06/5.569, allocations: 0 / 0.8029 GB, free: 51.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002554/5.572, allocations: 0.7902 MB / 0.8037 GB, free: 51.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/5.572, allocations: 55.34 kB / 0.8037 GB, free: 51.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/5.572, allocations: 229.3 kB / 0.8039 GB, free: 51.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/5.573, allocations: 25.7 kB / 0.804 GB, free: 51.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/5.573, allocations: 205.4 kB / 0.8042 GB, free: 51.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/5.573, allocations: 80.38 kB / 0.8042 GB, free: 51.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/5.573, allocations: 0 / 0.8042 GB, free: 51.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/5.573, allocations: 339.5 kB / 0.8046 GB, free: 50.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/5.573, allocations: 104.7 kB / 0.8047 GB, free: 50.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/5.573, allocations: 171.4 kB / 0.8048 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/5.574, allocations: 128.2 kB / 0.8049 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.574, allocations: 0 / 0.8049 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00111/5.575, allocations: 407.1 kB / 0.8053 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/5.575, allocations: 7.812 kB / 0.8053 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/5.575, allocations: 0 / 0.8053 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/5.576, allocations: 91.84 kB / 0.8054 GB, free: 50.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/5.576, allocations: 64.88 kB / 0.8055 GB, free: 50.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/5.581, allocations: 3.873 MB / 0.8093 GB, free: 46.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/5.581, allocations: 11.91 kB / 0.8093 GB, free: 46.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/5.581, allocations: 10.75 kB / 0.8093 GB, free: 46.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/5.582, allocations: 124.3 kB / 0.8094 GB, free: 46.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/5.582, allocations: 27.12 kB / 0.8094 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/5.582, allocations: 36.77 kB / 0.8095 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/5.582, allocations: 3.906 kB / 0.8095 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/5.582, allocations: 0 / 0.8095 GB, free: 46.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/5.582, allocations: 7.375 kB / 0.8095 GB, free: 46.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/5.582, allocations: 344.1 kB / 0.8098 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/5.582, allocations: 0 / 0.8098 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/5.583, allocations: 31.05 kB / 0.8098 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/5.583, allocations: 93.41 kB / 0.8099 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/5.583, allocations: 0 / 0.8099 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/5.587, allocations: 3.856 MB / 0.8137 GB, free: 42.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/5.587, allocations: 4.047 kB / 0.8137 GB, free: 42.96 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00188/5.589, allocations: 0.5414 MB / 0.8142 GB, free: 42.78 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002196/5.591, allocations: 1.052 MB / 0.8153 GB, free: 42.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/5.592, allocations: 122.8 kB / 0.8154 GB, free: 42.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/5.592, allocations: 0 / 0.8154 GB, free: 42.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/5.592, allocations: 11.09 kB / 0.8154 GB, free: 42.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/5.592, allocations: 11.09 kB / 0.8154 GB, free: 42.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/5.592, allocations: 7.594 kB / 0.8154 GB, free: 42.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003973/5.593, allocations: 180.1 kB / 0.8156 GB, free: 42.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003369/5.596, allocations: 85.84 kB / 0.8157 GB, free: 42.03 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003769/5.597, allocations: 105.9 kB / 0.8158 GB, free: 41.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001927/5.599, allocations: 0.5487 MB / 0.8163 GB, free: 41.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/5.599, allocations: 3.906 kB / 0.8163 GB, free: 41.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008951/5.6, allocations: 425.4 kB / 0.8167 GB, free: 41.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/5.601, allocations: 51.66 kB / 0.8168 GB, free: 41.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/5.604, allocations: 499.7 kB / 0.8172 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/5.604, allocations: 0.8655 MB / 0.8181 GB, free: 40.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.645e-06/5.604, allocations: 3.938 kB / 0.8181 GB, free: 40.39 MB / 0.6511 GB