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_RL.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_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.95/3.95, allocations: 433 MB / 440.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5128/4.463, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/4.7, allocations: 98.73 MB / 0.6283 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7133/5.413, allocations: 173.7 MB / 0.7979 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004922/5.414, allocations: 98.62 kB / 0.798 GB, free: 63.77 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.1778/5.591, allocations: 32.14 MB / 0.8294 GB, free: 59.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/5.591, allocations: 8.469 kB / 0.8294 GB, free: 59.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/5.594, allocations: 206.4 kB / 0.8296 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/5.596, allocations: 0.4919 MB / 0.8301 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/5.596, allocations: 15.62 kB / 0.8301 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/5.596, allocations: 32.89 kB / 0.8301 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001446/5.598, allocations: 477 kB / 0.8306 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/5.6, allocations: 0.8078 MB / 0.8314 GB, free: 59.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/5.6, allocations: 4.609 kB / 0.8314 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/5.6, allocations: 3.906 kB / 0.8314 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/5.6, allocations: 47.84 kB / 0.8314 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/5.607, allocations: 4.493 MB / 0.8358 GB, free: 55.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/5.607, allocations: 281.8 kB / 0.8361 GB, free: 55.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/5.608, allocations: 217.3 kB / 0.8363 GB, free: 55.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/5.608, allocations: 3.938 kB / 0.8363 GB, free: 55.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/5.608, allocations: 38.31 kB / 0.8363 GB, free: 55.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/5.608, allocations: 0 / 0.8363 GB, free: 55.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.006414/5.614, allocations: 2.02 MB / 0.8383 GB, free: 54.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/5.614, allocations: 55.38 kB / 0.8384 GB, free: 54.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007095/5.615, allocations: 336.2 kB / 0.8387 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/5.615, allocations: 29.7 kB / 0.8387 GB, free: 54.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/5.615, allocations: 295.6 kB / 0.839 GB, free: 54.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/5.615, allocations: 135.4 kB / 0.8391 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/5.616, allocations: 0 / 0.8391 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001072/5.616, allocations: 360 kB / 0.8395 GB, free: 53.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/5.616, allocations: 228.4 kB / 0.8397 GB, free: 53.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/5.617, allocations: 368.5 kB / 0.84 GB, free: 53.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/5.618, allocations: 285.6 kB / 0.8403 GB, free: 53.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/5.618, allocations: 0 / 0.8403 GB, free: 53.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002897/5.621, allocations: 0.8505 MB / 0.8411 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/5.621, allocations: 11.16 kB / 0.8411 GB, free: 53.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/5.621, allocations: 3.906 kB / 0.8412 GB, free: 53.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/5.622, allocations: 218.5 kB / 0.8414 GB, free: 53.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/5.623, allocations: 105.2 kB / 0.8415 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/5.631, allocations: 4.638 MB / 0.846 GB, free: 49.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/5.632, allocations: 11.8 kB / 0.846 GB, free: 49.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/5.632, allocations: 23.19 kB / 0.846 GB, free: 49.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001784/5.632, allocations: 123.9 kB / 0.8461 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/5.632, allocations: 50.78 kB / 0.8462 GB, free: 49.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/5.635, allocations: 0.7415 MB / 0.8469 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/5.635, allocations: 7.906 kB / 0.8469 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/5.635, allocations: 0 / 0.8469 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/5.635, allocations: 4.172 kB / 0.8469 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/5.64, allocations: 1.383 MB / 0.8483 GB, free: 48.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/5.64, allocations: 8.125 kB / 0.8483 GB, free: 48.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/5.641, allocations: 62.7 kB / 0.8483 GB, free: 48.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/5.643, allocations: 205.3 kB / 0.8485 GB, free: 48.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/5.644, allocations: 3.906 kB / 0.8485 GB, free: 48.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008941/5.653, allocations: 4.536 MB / 0.853 GB, free: 44.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/5.653, allocations: 144 / 0.853 GB, free: 44.44 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004174/5.657, allocations: 1.191 MB / 0.8541 GB, free: 43.93 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005727/5.663, allocations: 1.891 MB / 0.856 GB, free: 43.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/5.664, allocations: 167 kB / 0.8561 GB, free: 42.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/5.664, allocations: 7.891 kB / 0.8561 GB, free: 42.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008397/5.665, allocations: 15.7 kB / 0.8562 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/5.665, allocations: 23.56 kB / 0.8562 GB, free: 42.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/5.665, allocations: 11.69 kB / 0.8562 GB, free: 42.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004322/5.666, allocations: 254.5 kB / 0.8564 GB, free: 42.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002874/5.669, allocations: 152.8 kB / 0.8566 GB, free: 42.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/5.669, allocations: 118.6 kB / 0.8567 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002373/5.671, allocations: 0.9249 MB / 0.8576 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/5.671, allocations: 4.062 kB / 0.8576 GB, free: 42.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/5.673, allocations: 0.6198 MB / 0.8582 GB, free: 41.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/5.674, allocations: 127.5 kB / 0.8583 GB, free: 41.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/5.677, allocations: 0.9663 MB / 0.8593 GB, free: 41.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/5.678, allocations: 0.991 MB / 0.8602 GB, free: 40.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/5.678, allocations: 0 / 0.8602 GB, free: 40.5 MB / 0.6511 GB