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_RLC_N.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_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.684/3.684, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4948/4.179, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/4.413, allocations: 98.73 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.651/5.064, allocations: 153.9 MB / 0.7786 GB, free: 60.36 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.064, allocations: 96.53 kB / 0.7787 GB, free: 60.36 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.2659/5.33, allocations: 63.53 MB / 0.8408 GB, free: 51.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/5.33, allocations: 19.75 kB / 0.8408 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/5.336, allocations: 478.7 kB / 0.8413 GB, free: 51.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/5.34, allocations: 1.28 MB / 0.8425 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/5.34, allocations: 50.78 kB / 0.8425 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008016/5.341, allocations: 86.16 kB / 0.8426 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007467/5.348, allocations: 2.358 MB / 0.8449 GB, free: 50.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009385/5.358, allocations: 2.953 MB / 0.8478 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/5.358, allocations: 7.75 kB / 0.8478 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/5.358, allocations: 7.906 kB / 0.8478 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001279/5.36, allocations: 186.5 kB / 0.848 GB, free: 49.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04325/5.403, allocations: 14.7 MB / 0.8624 GB, free: 40.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/5.407, allocations: 1.74 MB / 0.8641 GB, free: 40.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003684/5.411, allocations: 1.548 MB / 0.8656 GB, free: 40.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/5.411, allocations: 16.22 kB / 0.8656 GB, free: 40.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/5.411, allocations: 46.72 kB / 0.8656 GB, free: 40.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.038e-06/5.411, allocations: 3.938 kB / 0.8656 GB, free: 40.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.08658/5.498, allocations: 14.15 MB / 0.8795 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/5.498, allocations: 74.09 kB / 0.8795 GB, free: 36.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/5.501, allocations: 1.002 MB / 0.8805 GB, free: 36.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007135/5.501, allocations: 26.7 kB / 0.8805 GB, free: 36.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/5.502, allocations: 0.6639 MB / 0.8812 GB, free: 35.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009742/5.503, allocations: 0.5942 MB / 0.8818 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/5.503, allocations: 0 / 0.8818 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001621/5.503, allocations: 391 kB / 0.8821 GB, free: 34.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005698/5.509, allocations: 2.149 MB / 0.8842 GB, free: 34.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006541/5.516, allocations: 2.473 MB / 0.8867 GB, free: 32.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/5.534, allocations: 2.925 MB / 0.8895 GB, free: 31.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.211e-05/5.534, allocations: 3.25 kB / 0.8895 GB, free: 31.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03779/5.572, allocations: 8.77 MB / 0.8981 GB, free: 26.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/5.572, allocations: 7.938 kB / 0.8981 GB, free: 26.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/5.572, allocations: 12.5 kB / 0.8981 GB, free: 26.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02917/5.601, allocations: 4.995 MB / 0.903 GB, free: 21.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/5.603, allocations: 243.6 kB / 0.9032 GB, free: 21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05888/5.662, allocations: 21.56 MB / 0.9243 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/5.666, allocations: 75.8 kB / 0.9243 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/5.668, allocations: 267.8 kB / 0.9246 GB, free: 14.81 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.002386/5.67, allocations: 124.7 kB / 0.9247 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000928/5.671, allocations: 138.3 kB / 0.9248 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03609/5.708, allocations: 8.35 MB / 0.933 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/5.708, allocations: 16 kB / 0.933 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/5.708, allocations: 16 kB / 0.933 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.236e-05/5.708, allocations: 7.969 kB / 0.933 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06351/5.771, allocations: 12.76 MB / 0.9455 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/5.771, allocations: 4 kB / 0.9455 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/5.773, allocations: 115.8 kB / 0.9456 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03123/5.804, allocations: 4.763 MB / 0.9503 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008809/5.805, allocations: 63.89 kB / 0.9503 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06176/5.867, allocations: 18.5 MB / 0.9684 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/5.867, allocations: 4 kB / 0.9684 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03956/5.906, allocations: 7.902 MB / 0.9761 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03439/5.941, allocations: 8.296 MB / 0.9842 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003633/5.944, allocations: 0.8231 MB / 0.985 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/5.946, allocations: 15.98 kB / 0.985 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003738/5.949, allocations: 43.88 kB / 0.9851 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009433/5.95, allocations: 145.8 kB / 0.9852 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001199/5.952, allocations: 179.9 kB / 0.9854 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.003276/5.955, allocations: 0.7724 MB / 0.9861 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00948/5.965, allocations: 0.6718 MB / 0.9868 GB, free: 14.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/5.966, allocations: 127.1 kB / 0.9869 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0221/5.988, allocations: 5.736 MB / 0.9925 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/5.988, allocations: 0 / 0.9925 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01496/6.003, allocations: 3.387 MB / 0.9958 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/6.006, allocations: 161.2 kB / 0.996 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/6.028, allocations: 4.376 MB / 1 GB, free: 472 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006/6.034, allocations: 1.904 MB / 1.002 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of SimCode: time 6.803e-06/6.034, allocations: 0 / 1.002 GB, free: 14.53 MB / 0.7448 GB