Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.865/3.865, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5577/4.423, allocations: 104.4 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/4.642, allocations: 98.71 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/4.929, allocations: 151.3 MB / 0.7761 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/4.93, allocations: 95.56 kB / 0.7762 GB, free: 2.16 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.9056/5.835, allocations: 130.5 MB / 0.9036 GB, free: 28.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/5.836, allocations: 12 kB / 0.9036 GB, free: 28.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/5.847, allocations: 0.9864 MB / 0.9046 GB, free: 27.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007463/5.854, allocations: 2.263 MB / 0.9068 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/5.854, allocations: 107.9 kB / 0.9069 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/5.856, allocations: 184 kB / 0.907 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01431/5.87, allocations: 3.785 MB / 0.9107 GB, free: 20.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/5.893, allocations: 5.281 MB / 0.9159 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/5.893, allocations: 15.88 kB / 0.9159 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008979/5.894, allocations: 8 kB / 0.9159 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008498/5.895, allocations: 342.2 kB / 0.9162 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05125/5.946, allocations: 28.73 MB / 0.9443 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003633/5.95, allocations: 1.426 MB / 0.9457 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003831/5.954, allocations: 1.509 MB / 0.9472 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/5.954, allocations: 16.36 kB / 0.9472 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/5.954, allocations: 47.5 kB / 0.9472 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.98e-06/5.954, allocations: 4 kB / 0.9472 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.07823/6.032, allocations: 13.39 MB / 0.9603 GB, free: 15.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/6.032, allocations: 73.41 kB / 0.9604 GB, free: 15.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/6.035, allocations: 1.05 MB / 0.9614 GB, free: 14.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005694/6.036, allocations: 25.7 kB / 0.9614 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/6.037, allocations: 1.308 MB / 0.9627 GB, free: 12.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/6.038, allocations: 0.585 MB / 0.9633 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/6.038, allocations: 0 / 0.9633 GB, free: 12.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002269/6.039, allocations: 381.9 kB / 0.9636 GB, free: 11.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004685/6.043, allocations: 1.858 MB / 0.9655 GB, free: 9.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/6.049, allocations: 2.35 MB / 0.9678 GB, free: 7.312 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007976/6.057, allocations: 2.43 MB / 0.9701 GB, free: 4.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/6.057, allocations: 4 kB / 0.9701 GB, free: 4.879 MB / 0.698 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.03083/6.088, allocations: 7.687 MB / 0.9776 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/6.088, allocations: 4 kB / 0.9776 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/6.088, allocations: 16 kB / 0.9777 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03238/6.12, allocations: 4.114 MB / 0.9817 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/6.124, allocations: 287.5 kB / 0.982 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07472/6.198, allocations: 19.34 MB / 1.001 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/6.202, allocations: 67.84 kB / 1.001 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007838/6.203, allocations: 175.9 kB / 1.001 GB, free: 4.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007118/6.203, allocations: 148.5 kB / 1.001 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/6.204, allocations: 189.7 kB / 1.001 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0337/6.238, allocations: 7.741 MB / 1.009 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/6.238, allocations: 16 kB / 1.009 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/6.238, allocations: 16 kB / 1.009 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-05/6.238, allocations: 7.969 kB / 1.009 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0506/6.289, allocations: 11.71 MB / 1.02 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/6.289, allocations: 4 kB / 1.02 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/6.291, allocations: 160.5 kB / 1.021 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02568/6.317, allocations: 4.044 MB / 1.025 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005747/6.317, allocations: 47.92 kB / 1.025 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05608/6.373, allocations: 18.92 MB / 1.043 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-05/6.373, allocations: 11.94 kB / 1.043 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02922/6.403, allocations: 7.922 MB / 1.051 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03457/6.437, allocations: 8.333 MB / 1.059 GB, free: 8.309 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/6.44, allocations: 0.6976 MB / 1.06 GB, free: 7.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009698/6.441, allocations: 11.98 kB / 1.06 GB, free: 7.578 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/6.444, allocations: 75.77 kB / 1.06 GB, free: 7.504 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/6.445, allocations: 137 kB / 1.06 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004882/6.446, allocations: 152.4 kB / 1.06 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.00191/6.447, allocations: 0.7995 MB / 1.061 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005384/6.453, allocations: 0.8163 MB / 1.062 GB, free: 5.605 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000669/6.454, allocations: 142.5 kB / 1.062 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02007/6.474, allocations: 5.829 MB / 1.067 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/6.474, allocations: 0 / 1.067 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0149/6.489, allocations: 3.592 MB / 1.071 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/6.493, allocations: 408.4 kB / 1.071 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/6.515, allocations: 5.72 MB / 1.077 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007047/6.522, allocations: 2.793 MB / 1.08 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of SimCode: time 4.188e-06/6.522, allocations: 0 / 1.08 GB, free: 2.898 MB / 0.8073 GB