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.ACLine_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.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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 4.15/4.15, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5023/4.652, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/4.861, allocations: 98.71 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6609/5.522, allocations: 180.8 MB / 0.8048 GB, free: 55.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/5.523, allocations: 95.73 kB / 0.8049 GB, free: 55.72 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.5735/6.096, allocations: 148.1 MB / 0.9495 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/6.096, allocations: 8 kB / 0.9495 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/6.11, allocations: 0.8069 MB / 0.9503 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/6.121, allocations: 2.571 MB / 0.9528 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/6.121, allocations: 123.8 kB / 0.9529 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/6.123, allocations: 227.9 kB / 0.9532 GB, free: 14.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01287/6.136, allocations: 3.709 MB / 0.9568 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/6.154, allocations: 5.224 MB / 0.9619 GB, free: 4.898 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/6.154, allocations: 23.72 kB / 0.9619 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/6.155, allocations: 8 kB / 0.9619 GB, free: 4.867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003468/6.156, allocations: 231 kB / 0.9621 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04892/6.205, allocations: 26.94 MB / 0.9884 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/6.208, allocations: 1.045 MB / 0.9895 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/6.21, allocations: 0.9644 MB / 0.9904 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/6.21, allocations: 13 kB / 0.9904 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/6.21, allocations: 51.5 kB / 0.9905 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 4.579e-06/6.21, allocations: 0 / 0.9905 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=131): time 0.02593/6.236, allocations: 6.944 MB / 0.9973 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/6.236, allocations: 64.72 kB / 0.9973 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/6.239, allocations: 1.077 MB / 0.9984 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003653/6.239, allocations: 25.7 kB / 0.9984 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/6.241, allocations: 1.42 MB / 0.9998 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000825/6.242, allocations: 457.2 kB / 1 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/6.242, allocations: 0 / 1 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002235/6.242, allocations: 373.9 kB / 1.001 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/6.244, allocations: 0.8551 MB / 1.001 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/6.247, allocations: 1.436 MB / 1.003 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/6.25, allocations: 1.119 MB / 1.004 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/6.25, allocations: 4 kB / 1.004 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01023/6.261, allocations: 3.045 MB / 1.007 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/6.261, allocations: 4 kB / 1.007 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/6.261, allocations: 24.12 kB / 1.007 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004188/6.265, allocations: 0.7256 MB / 1.008 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/6.268, allocations: 379.3 kB / 1.008 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/6.292, allocations: 14.47 MB / 1.022 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/6.295, allocations: 48.08 kB / 1.022 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/6.295, allocations: 80.06 kB / 1.022 GB, free: 3.246 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004877/6.295, allocations: 164.4 kB / 1.022 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/6.296, allocations: 189.8 kB / 1.023 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009083/6.305, allocations: 2.668 MB / 1.025 GB, free: 192 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/6.305, allocations: 12 kB / 1.025 GB, free: 180 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/6.305, allocations: 8 kB / 1.025 GB, free: 172 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/6.305, allocations: 11.97 kB / 1.025 GB, free: 160 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/6.325, allocations: 5.448 MB / 1.031 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/6.326, allocations: 4 kB / 1.031 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/6.328, allocations: 223.8 kB / 1.031 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00378/6.332, allocations: 0.6476 MB / 1.031 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/6.332, allocations: 11.94 kB / 1.031 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/6.354, allocations: 14.19 MB / 1.045 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/6.354, allocations: 7.938 kB / 1.045 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0116/6.366, allocations: 4.227 MB / 1.049 GB, free: 6 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01444/6.38, allocations: 5.927 MB / 1.055 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/6.382, allocations: 434.7 kB / 1.056 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/6.382, allocations: 8 kB / 1.056 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/6.384, allocations: 39.94 kB / 1.056 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/6.385, allocations: 76.81 kB / 1.056 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/6.385, allocations: 40.08 kB / 1.056 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.001977/6.387, allocations: 0.7996 MB / 1.057 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004883/6.392, allocations: 0.6288 MB / 1.057 GB, free: 13.81 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005481/6.392, allocations: 146.8 kB / 1.057 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008398/6.401, allocations: 3.206 MB / 1.06 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/6.401, allocations: 0 / 1.06 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005395/6.406, allocations: 2.074 MB / 1.062 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004972/6.411, allocations: 0.5082 MB / 1.063 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/6.437, allocations: 5.214 MB / 1.068 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01028/6.447, allocations: 2.83 MB / 1.071 GB, free: 15.49 MB / 0.823 GB Notification: Performance of SimCode: time 2.215e-06/6.447, allocations: 3.938 kB / 1.071 GB, free: 15.48 MB / 0.823 GB