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_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.ACLine_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.963/3.963, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5127/4.476, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/4.697, allocations: 98.71 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6477/5.345, allocations: 171.8 MB / 0.796 GB, free: 63.61 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/5.345, allocations: 96.95 kB / 0.7961 GB, free: 63.61 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 1.765/7.11, allocations: 322.8 MB / 1.111 GB, free: 98.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/7.11, allocations: 8.094 kB / 1.111 GB, free: 98.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03475/7.145, allocations: 1.684 MB / 1.113 GB, free: 98.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02851/7.173, allocations: 5.004 MB / 1.118 GB, free: 97.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/7.174, allocations: 197 kB / 1.118 GB, free: 97.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003301/7.177, allocations: 357.7 kB / 1.118 GB, free: 97.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02396/7.201, allocations: 7.07 MB / 1.125 GB, free: 97.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03427/7.236, allocations: 9.198 MB / 1.134 GB, free: 95.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004571/7.236, allocations: 27.56 kB / 1.134 GB, free: 95.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/7.239, allocations: 14.97 kB / 1.134 GB, free: 95.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005512/7.24, allocations: 397.4 kB / 1.135 GB, free: 95.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09549/7.335, allocations: 45.34 MB / 1.179 GB, free: 69.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008683/7.344, allocations: 3.719 MB / 1.183 GB, free: 69.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008431/7.352, allocations: 3.489 MB / 1.186 GB, free: 69.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/7.353, allocations: 41.25 kB / 1.186 GB, free: 69.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/7.353, allocations: 71.41 kB / 1.186 GB, free: 69.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=353): time 6.722e-06/7.353, allocations: 0 / 1.186 GB, free: 69.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=578): time 0.2/7.553, allocations: 38.1 MB / 1.223 GB, free: 65.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/7.553, allocations: 118.8 kB / 1.223 GB, free: 65.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/7.558, allocations: 1.828 MB / 1.225 GB, free: 65.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001501/7.56, allocations: 29.64 kB / 1.225 GB, free: 65.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/7.561, allocations: 2.177 MB / 1.227 GB, free: 63.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003204/7.565, allocations: 1.869 MB / 1.229 GB, free: 62.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008039/7.565, allocations: 7.906 kB / 1.229 GB, free: 62.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004194/7.566, allocations: 0.5326 MB / 1.23 GB, free: 62.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01008/7.576, allocations: 3.763 MB / 1.233 GB, free: 61.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/7.587, allocations: 4.828 MB / 1.238 GB, free: 59.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/7.602, allocations: 4.586 MB / 1.243 GB, free: 57.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.682e-05/7.602, allocations: 11.72 kB / 1.243 GB, free: 57.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.07139/7.674, allocations: 15.5 MB / 1.258 GB, free: 51.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/7.674, allocations: 3.969 kB / 1.258 GB, free: 51.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-05/7.674, allocations: 31.28 kB / 1.258 GB, free: 51.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05456/7.728, allocations: 7.41 MB / 1.265 GB, free: 50.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005075/7.733, allocations: 0.5431 MB / 1.266 GB, free: 50.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1615/7.895, allocations: 61.17 MB / 1.325 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0085/7.903, allocations: 89.41 kB / 1.325 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/7.905, allocations: 204 kB / 1.326 GB, free: 3.828 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002183/7.908, allocations: 189.9 kB / 1.326 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/7.909, allocations: 453.7 kB / 1.326 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08048/7.99, allocations: 15.79 MB / 1.342 GB, free: 7.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/7.99, allocations: 56 kB / 1.342 GB, free: 7.445 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001924/7.99, allocations: 74.81 kB / 1.342 GB, free: 7.375 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/7.99, allocations: 32.36 kB / 1.342 GB, free: 7.371 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1072/8.097, allocations: 22.61 MB / 1.364 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.491e-05/8.098, allocations: 4 kB / 1.364 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/8.102, allocations: 304.6 kB / 1.364 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04949/8.151, allocations: 6.905 MB / 1.371 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001612/8.153, allocations: 16 kB / 1.371 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6328/8.786, allocations: 58.15 MB / 1.428 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-05/8.786, allocations: 12.84 kB / 1.428 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07623/8.862, allocations: 20.72 MB / 1.448 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1001/8.962, allocations: 27.15 MB / 1.474 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005448/8.968, allocations: 1.241 MB / 1.476 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/8.97, allocations: 14.92 kB / 1.476 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008554/8.979, allocations: 90.41 kB / 1.476 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001879/8.981, allocations: 280.3 kB / 1.476 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008254/8.982, allocations: 140.3 kB / 1.476 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003163/8.985, allocations: 1.346 MB / 1.478 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01412/8.999, allocations: 1.846 MB / 1.479 GB, free: 140.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001934/9.001, allocations: 145.4 kB / 1.479 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.04575/9.047, allocations: 12.4 MB / 1.492 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/9.047, allocations: 3.875 kB / 1.492 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.03469/9.082, allocations: 7.726 MB / 1.499 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009838/9.092, allocations: 0.9442 MB / 1.5 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05091/9.143, allocations: 13.28 MB / 1.513 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01365/9.156, allocations: 4.862 MB / 1.518 GB, free: 134 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/9.156, allocations: 0 / 1.518 GB, free: 134 MB / 0.8698 GB