Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.124/4.124, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5393/4.663, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/4.888, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/5.182, allocations: 150.1 MB / 0.7749 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/5.183, allocations: 91.58 kB / 0.775 GB, free: 3.34 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.5253/5.708, allocations: 37.63 MB / 0.8117 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/5.708, allocations: 8.75 kB / 0.8118 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/5.711, allocations: 222.4 kB / 0.812 GB, free: 100 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/5.712, allocations: 0.5469 MB / 0.8125 GB, free: 99.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/5.712, allocations: 20 kB / 0.8125 GB, free: 99.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/5.713, allocations: 43.92 kB / 0.8126 GB, free: 99.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001465/5.714, allocations: 0.5622 MB / 0.8131 GB, free: 99.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/5.716, allocations: 1.002 MB / 0.8141 GB, free: 98.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/5.716, allocations: 15.53 kB / 0.8141 GB, free: 98.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/5.716, allocations: 4 kB / 0.8141 GB, free: 98.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/5.716, allocations: 64.89 kB / 0.8142 GB, free: 98.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/5.722, allocations: 5.665 MB / 0.8197 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007483/5.723, allocations: 402.6 kB / 0.8201 GB, free: 92.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/5.724, allocations: 295 kB / 0.8204 GB, free: 92.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/5.724, allocations: 4.688 kB / 0.8204 GB, free: 92.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/5.724, allocations: 41.31 kB / 0.8204 GB, free: 92.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 4.679e-06/5.724, allocations: 0 / 0.8204 GB, free: 92.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.003495/5.727, allocations: 1.136 MB / 0.8215 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/5.728, allocations: 55.41 kB / 0.8216 GB, free: 91.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/5.728, allocations: 329.7 kB / 0.8219 GB, free: 90.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/5.728, allocations: 29.7 kB / 0.8219 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/5.728, allocations: 338.6 kB / 0.8222 GB, free: 90.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/5.728, allocations: 143.4 kB / 0.8224 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/5.728, allocations: 0 / 0.8224 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/5.729, allocations: 360 kB / 0.8227 GB, free: 90.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/5.729, allocations: 229.1 kB / 0.8229 GB, free: 89.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/5.73, allocations: 409.3 kB / 0.8233 GB, free: 89.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/5.73, allocations: 290 kB / 0.8236 GB, free: 89.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/5.73, allocations: 4 kB / 0.8236 GB, free: 89.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002652/5.733, allocations: 0.9047 MB / 0.8245 GB, free: 88.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/5.733, allocations: 8.156 kB / 0.8245 GB, free: 88.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/5.733, allocations: 11.98 kB / 0.8245 GB, free: 88.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/5.735, allocations: 276.8 kB / 0.8248 GB, free: 88.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/5.736, allocations: 91.77 kB / 0.8249 GB, free: 88.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/5.743, allocations: 6.22 MB / 0.8309 GB, free: 82.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/5.744, allocations: 11.98 kB / 0.831 GB, free: 82.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/5.744, allocations: 23.31 kB / 0.831 GB, free: 82.11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/5.744, allocations: 123.5 kB / 0.8311 GB, free: 81.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/5.745, allocations: 59.34 kB / 0.8311 GB, free: 81.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/5.747, allocations: 0.8117 MB / 0.8319 GB, free: 81.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/5.747, allocations: 4 kB / 0.8319 GB, free: 81.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/5.747, allocations: 7.984 kB / 0.832 GB, free: 81.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/5.747, allocations: 0 / 0.832 GB, free: 81.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/5.751, allocations: 1.521 MB / 0.8334 GB, free: 80.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/5.751, allocations: 4.188 kB / 0.8334 GB, free: 80.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/5.752, allocations: 39.92 kB / 0.8335 GB, free: 80.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/5.753, allocations: 273.1 kB / 0.8337 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/5.753, allocations: 0 / 0.8337 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007563/5.761, allocations: 6.211 MB / 0.8398 GB, free: 73.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/5.761, allocations: 7.938 kB / 0.8398 GB, free: 73.67 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002513/5.763, allocations: 0.993 MB / 0.8408 GB, free: 72.79 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002543/5.766, allocations: 1.369 MB / 0.8421 GB, free: 71.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/5.766, allocations: 171.3 kB / 0.8423 GB, free: 71.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/5.766, allocations: 3.938 kB / 0.8423 GB, free: 71.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/5.767, allocations: 11.98 kB / 0.8423 GB, free: 71.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/5.767, allocations: 23 kB / 0.8423 GB, free: 71.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/5.767, allocations: 14.69 kB / 0.8423 GB, free: 71.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003382/5.767, allocations: 252.8 kB / 0.8426 GB, free: 71.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001882/5.769, allocations: 160 kB / 0.8427 GB, free: 70.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001911/5.77, allocations: 122.5 kB / 0.8428 GB, free: 70.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002472/5.772, allocations: 1.059 MB / 0.8439 GB, free: 69.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/5.772, allocations: 0 / 0.8439 GB, free: 69.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/5.774, allocations: 0.7694 MB / 0.8446 GB, free: 69.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/5.775, allocations: 157.1 kB / 0.8448 GB, free: 69.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/5.778, allocations: 0.911 MB / 0.8457 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/5.779, allocations: 1.027 MB / 0.8467 GB, free: 67.22 MB / 0.6511 GB Notification: Performance of SimCode: time 2.544e-06/5.779, allocations: 0 / 0.8467 GB, free: 67.22 MB / 0.6511 GB