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.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.884/3.884, allocations: 433 MB / 440.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5492/4.433, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/4.674, allocations: 98.73 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7663/5.441, allocations: 175.3 MB / 0.7995 GB, free: 48.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.441, allocations: 90.73 kB / 0.7996 GB, free: 48.88 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.7182/6.159, allocations: 152 MB / 0.948 GB, free: 9.316 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/6.159, allocations: 11.94 kB / 0.948 GB, free: 9.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03309/6.192, allocations: 3.187 MB / 0.9511 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/6.206, allocations: 2.58 MB / 0.9536 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009084/6.207, allocations: 389.7 kB / 0.954 GB, free: 3.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/6.209, allocations: 140 kB / 0.9542 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01442/6.224, allocations: 3.587 MB / 0.9577 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/6.24, allocations: 3.689 MB / 0.9613 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-05/6.24, allocations: 0 / 0.9613 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/6.242, allocations: 4 kB / 0.9613 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/6.242, allocations: 156.8 kB / 0.9614 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04971/6.292, allocations: 14.54 MB / 0.9756 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005572/6.297, allocations: 1.127 MB / 0.9767 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003967/6.301, allocations: 1.104 MB / 0.9778 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/6.302, allocations: 30.06 kB / 0.9778 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00417/6.306, allocations: 1.37 MB / 0.9792 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 6.582e-06/6.306, allocations: 0 / 0.9792 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.05711/6.363, allocations: 8.694 MB / 0.9877 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007258/6.364, allocations: 0.8979 MB / 0.9885 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008249/6.372, allocations: 1.564 MB / 0.9901 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/6.373, allocations: 33.7 kB / 0.9901 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002468/6.376, allocations: 0.9549 MB / 0.991 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002954/6.379, allocations: 0.7928 MB / 0.9918 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007983/6.38, allocations: 0 / 0.9918 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0006111/6.38, allocations: 394.7 kB / 0.9922 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007824/6.388, allocations: 1.418 MB / 0.9936 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008274/6.396, allocations: 1.777 MB / 0.9953 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007844/6.404, allocations: 1.479 MB / 0.9967 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/6.404, allocations: 0 / 0.9967 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03651/6.441, allocations: 5.141 MB / 1.002 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/6.441, allocations: 8 kB / 1.002 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/6.441, allocations: 4 kB / 1.002 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02062/6.462, allocations: 2.761 MB / 1.004 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00671/6.468, allocations: 0.6281 MB / 1.005 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08797/6.556, allocations: 15.47 MB / 1.02 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02461/6.581, allocations: 423.6 kB / 1.021 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/6.582, allocations: 91.95 kB / 1.021 GB, free: 12.9 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001203/6.583, allocations: 162.9 kB / 1.021 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/6.585, allocations: 308.4 kB / 1.021 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008072/6.593, allocations: 313.2 kB / 1.021 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/6.593, allocations: 24 kB / 1.021 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.605e-05/6.593, allocations: 19.98 kB / 1.021 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-05/6.593, allocations: 7.969 kB / 1.021 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/6.609, allocations: 3.33 MB / 1.025 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-05/6.609, allocations: 0 / 1.025 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00787/6.617, allocations: 0.558 MB / 1.025 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01906/6.636, allocations: 2.733 MB / 1.028 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007181/6.637, allocations: 23.91 kB / 1.028 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08123/6.718, allocations: 15.47 MB / 1.043 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/6.718, allocations: 3.938 kB / 1.043 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02387/6.742, allocations: 4.968 MB / 1.048 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02759/6.77, allocations: 5.397 MB / 1.053 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/6.773, allocations: 0.6847 MB / 1.054 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002172/6.775, allocations: 4 kB / 1.054 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01289/6.788, allocations: 439.4 kB / 1.054 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003314/6.792, allocations: 269.5 kB / 1.055 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000661/6.792, allocations: 67.97 kB / 1.055 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.004123/6.797, allocations: 1.161 MB / 1.056 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00862/6.805, allocations: 0.8906 MB / 1.057 GB, free: 7.828 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 (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/6.807, allocations: 143.4 kB / 1.057 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.04423/6.851, allocations: 4.931 MB / 1.062 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/6.851, allocations: 4 kB / 1.062 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.03226/6.884, allocations: 3.182 MB / 1.065 GB, free: 15.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00969/6.893, allocations: 0.8216 MB / 1.065 GB, free: 14.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/6.925, allocations: 5.217 MB / 1.071 GB, free: 9.422 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008021/6.933, allocations: 2.405 MB / 1.073 GB, free: 6.984 MB / 0.823 GB Notification: Performance of SimCode: time 2.325e-06/6.933, allocations: 3.938 kB / 1.073 GB, free: 6.98 MB / 0.823 GB