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.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.981/3.981, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.506/4.487, allocations: 104.4 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/4.699, allocations: 98.73 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2627/4.962, allocations: 153.3 MB / 0.778 GB, free: 272 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/4.962, allocations: 99.56 kB / 0.7781 GB, free: 176 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.6641/5.626, allocations: 87.33 MB / 0.8634 GB, free: 79.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/5.626, allocations: 8 kB / 0.8634 GB, free: 79.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007605/5.634, allocations: 0.6761 MB / 0.8641 GB, free: 79.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/5.639, allocations: 1.539 MB / 0.8656 GB, free: 77.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/5.64, allocations: 76 kB / 0.8656 GB, free: 77.37 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/5.641, allocations: 140 kB / 0.8658 GB, free: 77.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01223/5.653, allocations: 2.786 MB / 0.8685 GB, free: 74.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/5.671, allocations: 3.562 MB / 0.872 GB, free: 70.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.546e-05/5.671, allocations: 7.844 kB / 0.872 GB, free: 70.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/5.671, allocations: 4 kB / 0.872 GB, free: 70.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/5.671, allocations: 164.5 kB / 0.8721 GB, free: 70.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03451/5.706, allocations: 15.99 MB / 0.8877 GB, free: 53.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/5.708, allocations: 1.066 MB / 0.8888 GB, free: 52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/5.709, allocations: 0.6252 MB / 0.8894 GB, free: 51.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/5.71, allocations: 93.75 kB / 0.8895 GB, free: 51.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/5.71, allocations: 47.22 kB / 0.8895 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.767e-06/5.71, allocations: 3.938 kB / 0.8895 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.007773/5.718, allocations: 2.815 MB / 0.8923 GB, free: 48.35 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/5.718, allocations: 111.5 kB / 0.8924 GB, free: 48.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/5.719, allocations: 0.8481 MB / 0.8932 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/5.719, allocations: 29.77 kB / 0.8932 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/5.72, allocations: 1.005 MB / 0.8942 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/5.72, allocations: 264.2 kB / 0.8945 GB, free: 46.04 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/5.72, allocations: 0 / 0.8945 GB, free: 46.04 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001751/5.721, allocations: 410.7 kB / 0.8949 GB, free: 45.63 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/5.722, allocations: 0.6364 MB / 0.8955 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/5.724, allocations: 1.165 MB / 0.8966 GB, free: 43.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/5.727, allocations: 1.002 MB / 0.8976 GB, free: 42.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/5.727, allocations: 4 kB / 0.8976 GB, free: 42.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006137/5.733, allocations: 2.056 MB / 0.8996 GB, free: 40.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/5.733, allocations: 8.688 kB / 0.8996 GB, free: 40.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/5.733, allocations: 20 kB / 0.8996 GB, free: 40.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/5.734, allocations: 167.3 kB / 0.8998 GB, free: 40.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/5.736, allocations: 327.4 kB / 0.9001 GB, free: 39.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.883e-05/5.736, allocations: 35.86 kB / 0.9002 GB, free: 39.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/5.739, allocations: 95.72 kB / 0.9002 GB, free: 39.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/5.739, allocations: 67.98 kB / 0.9003 GB, free: 39.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003228/5.739, allocations: 156.9 kB / 0.9005 GB, free: 39.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/5.74, allocations: 106.7 kB / 0.9006 GB, free: 39.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/5.743, allocations: 1.349 MB / 0.9019 GB, free: 38.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/5.743, allocations: 11.94 kB / 0.9019 GB, free: 38.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/5.743, allocations: 0 / 0.9019 GB, free: 38.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/5.744, allocations: 7.891 kB / 0.9019 GB, free: 38.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008739/5.752, allocations: 3.367 MB / 0.9052 GB, free: 34.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/5.752, allocations: 4 kB / 0.9052 GB, free: 34.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/5.754, allocations: 155.8 kB / 0.9053 GB, free: 34.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006631/5.754, allocations: 143.5 kB / 0.9055 GB, free: 34.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/5.755, allocations: 4 kB / 0.9055 GB, free: 34.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/5.755, allocations: 4 kB / 0.9055 GB, free: 34.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/5.755, allocations: 4 kB / 0.9055 GB, free: 34.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003536/5.758, allocations: 1.703 MB / 0.9071 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003668/5.762, allocations: 2.094 MB / 0.9092 GB, free: 30.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009048/5.763, allocations: 299.6 kB / 0.9095 GB, free: 29.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/5.763, allocations: 7.984 kB / 0.9095 GB, free: 29.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/5.765, allocations: 51.94 kB / 0.9095 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/5.765, allocations: 48.5 kB / 0.9096 GB, free: 29.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/5.765, allocations: 20 kB / 0.9096 GB, free: 29.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001265/5.766, allocations: 0.6361 MB / 0.9102 GB, free: 29.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00322/5.769, allocations: 384.1 kB / 0.9106 GB, free: 28.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003703/5.77, allocations: 123.7 kB / 0.9107 GB, free: 28.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003414/5.773, allocations: 1.744 MB / 0.9124 GB, free: 26.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/5.773, allocations: 4.375 kB / 0.9124 GB, free: 26.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/5.775, allocations: 0.904 MB / 0.9133 GB, free: 25.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/5.777, allocations: 208 kB / 0.9135 GB, free: 25.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009558/5.787, allocations: 3.108 MB / 0.9165 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003368/5.79, allocations: 2.049 MB / 0.9185 GB, free: 20.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.884e-06/5.79, allocations: 0 / 0.9185 GB, free: 20.37 MB / 0.6511 GB