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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.05/4.05, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4963/4.547, allocations: 104.3 MB / 0.5319 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/4.758, allocations: 98.72 MB / 0.6283 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.651/5.409, allocations: 170.7 MB / 0.795 GB, free: 63.46 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/5.41, allocations: 98.64 kB / 0.7951 GB, free: 63.45 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 1.129/6.538, allocations: 270.5 MB / 1.059 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/6.538, allocations: 12 kB / 1.059 GB, free: 4.59 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/6.559, allocations: 1.413 MB / 1.061 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01989/6.579, allocations: 4.203 MB / 1.065 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/6.579, allocations: 164 kB / 1.065 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003062/6.582, allocations: 295.9 kB / 1.065 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02569/6.608, allocations: 5.773 MB / 1.071 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04311/6.651, allocations: 7.706 MB / 1.078 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005148/6.652, allocations: 35.67 kB / 1.078 GB, free: 468 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003214/6.655, allocations: 23.88 kB / 1.078 GB, free: 444 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009163/6.656, allocations: 345.9 kB / 1.079 GB, free: 96 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/7.085, allocations: 39.08 MB / 1.117 GB, free: 200.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/7.092, allocations: 2.568 MB / 1.119 GB, free: 200.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00596/7.098, allocations: 2.509 MB / 1.122 GB, free: 200.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/7.098, allocations: 27.72 kB / 1.122 GB, free: 200.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/7.098, allocations: 63.06 kB / 1.122 GB, free: 200.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=265): time 6.793e-06/7.098, allocations: 0 / 1.122 GB, free: 200.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=424): time 0.1449/7.243, allocations: 27.92 MB / 1.149 GB, free: 198.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/7.243, allocations: 92.39 kB / 1.149 GB, free: 198.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/7.247, allocations: 1.635 MB / 1.151 GB, free: 198 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/7.248, allocations: 29.39 kB / 1.151 GB, free: 198 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/7.249, allocations: 1.898 MB / 1.153 GB, free: 197.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002178/7.251, allocations: 1.383 MB / 1.154 GB, free: 196.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/7.252, allocations: 0 / 1.154 GB, free: 196.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002915/7.252, allocations: 482.5 kB / 1.155 GB, free: 195.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006633/7.259, allocations: 2.744 MB / 1.157 GB, free: 195.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008158/7.267, allocations: 3.676 MB / 1.161 GB, free: 194.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008811/7.276, allocations: 3.359 MB / 1.164 GB, free: 194.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.739e-05/7.276, allocations: 7.875 kB / 1.164 GB, free: 194.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.05568/7.332, allocations: 11.38 MB / 1.175 GB, free: 194.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/7.332, allocations: 3.906 kB / 1.175 GB, free: 194.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/7.332, allocations: 28.22 kB / 1.175 GB, free: 194.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03575/7.368, allocations: 4.967 MB / 1.18 GB, free: 194 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/7.372, allocations: 0.4944 MB / 1.181 GB, free: 194 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1163/7.488, allocations: 59.67 MB / 1.239 GB, free: 157.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006398/7.495, allocations: 67.67 kB / 1.239 GB, free: 157.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/7.496, allocations: 158.5 kB / 1.239 GB, free: 157.1 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001679/7.498, allocations: 196.1 kB / 1.239 GB, free: 157 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/7.499, allocations: 373.1 kB / 1.24 GB, free: 156.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04986/7.549, allocations: 11.24 MB / 1.251 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.16e-05/7.549, allocations: 41.56 kB / 1.251 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000154/7.549, allocations: 46.22 kB / 1.251 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/7.549, allocations: 18.47 kB / 1.251 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06764/7.617, allocations: 16.75 MB / 1.267 GB, free: 146.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001156/7.617, allocations: 10.56 kB / 1.267 GB, free: 146.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005596/7.623, allocations: 272.5 kB / 1.267 GB, free: 146.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03238/7.655, allocations: 4.443 MB / 1.272 GB, free: 145.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/7.657, allocations: 14.78 kB / 1.272 GB, free: 145.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1115/7.768, allocations: 57.24 MB / 1.328 GB, free: 97.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/7.768, allocations: 8 kB / 1.328 GB, free: 97.55 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05168/7.82, allocations: 15.08 MB / 1.342 GB, free: 84.2 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06062/7.88, allocations: 19.81 MB / 1.362 GB, free: 66.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003769/7.884, allocations: 0.9497 MB / 1.363 GB, free: 65.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/7.886, allocations: 23.75 kB / 1.363 GB, free: 65.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00486/7.891, allocations: 70.11 kB / 1.363 GB, free: 65.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007655/7.892, allocations: 206.9 kB / 1.363 GB, free: 65.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004556/7.892, allocations: 108 kB / 1.363 GB, free: 65.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.002379/7.894, allocations: 1.202 MB / 1.364 GB, free: 64.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009097/7.904, allocations: 1.425 MB / 1.366 GB, free: 62.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/7.905, allocations: 162.8 kB / 1.366 GB, free: 62.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03342/7.938, allocations: 10.51 MB / 1.376 GB, free: 52.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/7.938, allocations: 2.125 kB / 1.376 GB, free: 52.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.02393/7.962, allocations: 7.034 MB / 1.383 GB, free: 46.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008842/7.971, allocations: 0.8472 MB / 1.384 GB, free: 45.76 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03679/8.008, allocations: 10.11 MB / 1.394 GB, free: 36.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01021/8.018, allocations: 4.1 MB / 1.398 GB, free: 33.45 MB / 0.8073 GB Notification: Performance of SimCode: time 2.424e-06/8.018, allocations: 0 / 1.398 GB, free: 33.45 MB / 0.8073 GB