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_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_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.732/3.732, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5093/4.241, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/4.486, allocations: 98.73 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/4.789, allocations: 152.2 MB / 0.7769 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/4.789, allocations: 95.58 kB / 0.777 GB, free: 1.27 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.9472/5.736, allocations: 141.3 MB / 0.915 GB, free: 25.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/5.736, allocations: 8 kB / 0.915 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/5.748, allocations: 1.044 MB / 0.9161 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/5.759, allocations: 2.618 MB / 0.9186 GB, free: 21.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/5.759, allocations: 119.9 kB / 0.9187 GB, free: 21.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/5.761, allocations: 212 kB / 0.9189 GB, free: 21.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01562/5.777, allocations: 4.596 MB / 0.9234 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/5.797, allocations: 6.253 MB / 0.9295 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/5.797, allocations: 15.78 kB / 0.9295 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/5.799, allocations: 8 kB / 0.9295 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/5.8, allocations: 411.2 kB / 0.9299 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0704/5.87, allocations: 31.64 MB / 0.9608 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/5.876, allocations: 2.107 MB / 0.9629 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00606/5.882, allocations: 2.244 MB / 0.9651 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/5.882, allocations: 29.28 kB / 0.9651 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/5.882, allocations: 47.88 kB / 0.9652 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 5.13e-06/5.882, allocations: 4 kB / 0.9652 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.137/6.019, allocations: 21.59 MB / 0.9862 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/6.019, allocations: 81.41 kB / 0.9863 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/6.023, allocations: 1.264 MB / 0.9876 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008548/6.024, allocations: 25.7 kB / 0.9876 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/6.025, allocations: 1.454 MB / 0.989 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/6.027, allocations: 0.8197 MB / 0.9898 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005309/6.028, allocations: 0 / 0.9898 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002928/6.028, allocations: 407.1 kB / 0.9902 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/6.036, allocations: 2.871 MB / 0.993 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008889/6.045, allocations: 3.397 MB / 0.9963 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/6.057, allocations: 3.612 MB / 0.9998 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-05/6.057, allocations: 4 kB / 0.9998 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.06121/6.119, allocations: 12.42 MB / 1.012 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/6.119, allocations: 7.906 kB / 1.012 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/6.119, allocations: 16 kB / 1.012 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06364/6.182, allocations: 7.959 MB / 1.02 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/6.185, allocations: 279.5 kB / 1.02 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1167/6.302, allocations: 30.89 MB / 1.05 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/6.306, allocations: 95.59 kB / 1.05 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002606/6.309, allocations: 263.8 kB / 1.051 GB, free: 10.89 MB / 0.7761 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001312/6.31, allocations: 148.5 kB / 1.051 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/6.311, allocations: 233.2 kB / 1.051 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0551/6.367, allocations: 12.65 MB / 1.063 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.628e-05/6.367, allocations: 24 kB / 1.063 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/6.367, allocations: 24 kB / 1.063 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.527e-05/6.367, allocations: 11.95 kB / 1.063 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3964/6.763, allocations: 18.11 MB / 1.081 GB, free: 263.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/6.763, allocations: 13.75 kB / 1.081 GB, free: 263.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/6.766, allocations: 154.9 kB / 1.081 GB, free: 263.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05357/6.819, allocations: 7.883 MB / 1.089 GB, free: 263 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001389/6.821, allocations: 85.56 kB / 1.089 GB, free: 263 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1057/6.927, allocations: 30.43 MB / 1.119 GB, free: 257.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.039e-05/6.927, allocations: 16.41 kB / 1.119 GB, free: 257.9 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07651/7.003, allocations: 12.69 MB / 1.131 GB, free: 256.9 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05358/7.057, allocations: 13.1 MB / 1.144 GB, free: 255.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/7.06, allocations: 0.9948 MB / 1.145 GB, free: 255.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001795/7.062, allocations: 10.62 kB / 1.145 GB, free: 255.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004988/7.067, allocations: 82.97 kB / 1.145 GB, free: 255.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/7.069, allocations: 210 kB / 1.145 GB, free: 255.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000764/7.069, allocations: 233.7 kB / 1.145 GB, free: 255.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.002153/7.072, allocations: 0.9538 MB / 1.146 GB, free: 254.9 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.007506/7.079, allocations: 1.102 MB / 1.147 GB, free: 254.9 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/7.081, allocations: 152 kB / 1.147 GB, free: 254.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.04334/7.124, allocations: 9.377 MB / 1.157 GB, free: 253.7 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/7.124, allocations: 3.875 kB / 1.157 GB, free: 253.7 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.03296/7.157, allocations: 5.969 MB / 1.162 GB, free: 252.2 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/7.162, allocations: 408 kB / 1.163 GB, free: 252.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/7.189, allocations: 7.475 MB / 1.17 GB, free: 249.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008856/7.198, allocations: 3.217 MB / 1.173 GB, free: 248.3 MB / 0.7917 GB Notification: Performance of SimCode: time 1.894e-06/7.198, allocations: 2.156 kB / 1.173 GB, free: 248.3 MB / 0.7917 GB