Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_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 4.126/4.126, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4785/4.604, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/4.816, allocations: 98.72 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6414/5.458, allocations: 167.1 MB / 0.7915 GB, free: 64.22 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/5.458, allocations: 97.36 kB / 0.7915 GB, free: 64.22 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.1269/5.585, allocations: 31.58 MB / 0.8224 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/5.585, allocations: 8.672 kB / 0.8224 GB, free: 60.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/5.588, allocations: 198.2 kB / 0.8226 GB, free: 60.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/5.59, allocations: 490.8 kB / 0.8231 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/5.59, allocations: 15.62 kB / 0.8231 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/5.59, allocations: 45.16 kB / 0.8231 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/5.592, allocations: 479.7 kB / 0.8236 GB, free: 60.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/5.593, allocations: 0.799 MB / 0.8244 GB, free: 59.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/5.593, allocations: 8.422 kB / 0.8244 GB, free: 59.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/5.594, allocations: 0 / 0.8244 GB, free: 59.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.24e-05/5.594, allocations: 43.83 kB / 0.8244 GB, free: 59.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006523/5.6, allocations: 4.486 MB / 0.8288 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/5.601, allocations: 284.1 kB / 0.8291 GB, free: 56.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/5.601, allocations: 217.1 kB / 0.8293 GB, free: 56.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/5.601, allocations: 3.906 kB / 0.8293 GB, free: 56.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/5.601, allocations: 46.67 kB / 0.8293 GB, free: 56.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/5.601, allocations: 3.984 kB / 0.8293 GB, free: 56.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.006545/5.608, allocations: 2.014 MB / 0.8313 GB, free: 55.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/5.608, allocations: 55.25 kB / 0.8313 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/5.609, allocations: 330.6 kB / 0.8316 GB, free: 55.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.313e-05/5.609, allocations: 25.7 kB / 0.8317 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/5.609, allocations: 289 kB / 0.8319 GB, free: 55.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/5.609, allocations: 139.9 kB / 0.8321 GB, free: 55.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/5.609, allocations: 4 kB / 0.8321 GB, free: 55.15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001203/5.609, allocations: 358.9 kB / 0.8324 GB, free: 54.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/5.61, allocations: 227.7 kB / 0.8326 GB, free: 54.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/5.61, allocations: 373.5 kB / 0.833 GB, free: 54.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006827/5.611, allocations: 280 kB / 0.8333 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/5.611, allocations: 8.5 kB / 0.8333 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002886/5.614, allocations: 0.842 MB / 0.8341 GB, free: 54.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/5.614, allocations: 7.812 kB / 0.8341 GB, free: 54.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/5.614, allocations: 4.594 kB / 0.8341 GB, free: 54.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/5.616, allocations: 227.2 kB / 0.8343 GB, free: 54.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/5.617, allocations: 100.6 kB / 0.8344 GB, free: 54.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/5.625, allocations: 4.634 MB / 0.8389 GB, free: 50.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/5.626, allocations: 11.95 kB / 0.839 GB, free: 50.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/5.626, allocations: 23.56 kB / 0.839 GB, free: 50.81 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.0001956/5.626, allocations: 131.1 kB / 0.8391 GB, free: 50.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/5.626, allocations: 51.39 kB / 0.8392 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/5.629, allocations: 0.7366 MB / 0.8399 GB, free: 50.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/5.629, allocations: 4.984 kB / 0.8399 GB, free: 50.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/5.629, allocations: 0 / 0.8399 GB, free: 50.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/5.629, allocations: 6.344 kB / 0.8399 GB, free: 50.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/5.633, allocations: 1.38 MB / 0.8412 GB, free: 50.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/5.633, allocations: 0 / 0.8412 GB, free: 50.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/5.634, allocations: 61.22 kB / 0.8413 GB, free: 50.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/5.635, allocations: 209.7 kB / 0.8415 GB, free: 50.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/5.635, allocations: 0.8906 kB / 0.8415 GB, free: 50.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006087/5.642, allocations: 4.546 MB / 0.8459 GB, free: 46.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/5.642, allocations: 4.688 kB / 0.8459 GB, free: 46.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002973/5.645, allocations: 1.187 MB / 0.8471 GB, free: 46.12 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00364/5.648, allocations: 1.892 MB / 0.8489 GB, free: 45.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/5.649, allocations: 164.7 kB / 0.8491 GB, free: 45.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/5.649, allocations: 4.578 kB / 0.8491 GB, free: 45.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/5.65, allocations: 12.98 kB / 0.8491 GB, free: 45.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/5.65, allocations: 35.64 kB / 0.8492 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/5.65, allocations: 11.44 kB / 0.8492 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004131/5.65, allocations: 249.5 kB / 0.8494 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001832/5.652, allocations: 153.4 kB / 0.8495 GB, free: 45.15 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.0002347/5.652, allocations: 117.6 kB / 0.8497 GB, free: 45.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002289/5.655, allocations: 0.9187 MB / 0.8506 GB, free: 44.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/5.655, allocations: 3.812 kB / 0.8506 GB, free: 44.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/5.656, allocations: 0.6202 MB / 0.8512 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/5.657, allocations: 131.8 kB / 0.8513 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/5.661, allocations: 0.9565 MB / 0.8522 GB, free: 43.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/5.661, allocations: 0.9858 MB / 0.8532 GB, free: 43.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/5.661, allocations: 0 / 0.8532 GB, free: 43.11 MB / 0.6511 GB