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_R.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_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.207/4.207, allocations: 433 MB / 440.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5629/4.77, allocations: 104.3 MB / 0.5319 GB, free: 12.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/5.023, allocations: 98.73 MB / 0.6283 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2926/5.315, allocations: 145.8 MB / 0.7707 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/5.316, allocations: 95.39 kB / 0.7708 GB, free: 6.32 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.6064/5.922, allocations: 37.02 MB / 0.8069 GB, free: 55.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/5.922, allocations: 7.812 kB / 0.8069 GB, free: 55.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/5.926, allocations: 248.8 kB / 0.8072 GB, free: 55.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/5.928, allocations: 0.5277 MB / 0.8077 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/5.928, allocations: 23.44 kB / 0.8077 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/5.928, allocations: 35.31 kB / 0.8078 GB, free: 54.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003028/5.931, allocations: 0.6231 MB / 0.8084 GB, free: 54.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/5.936, allocations: 1.047 MB / 0.8094 GB, free: 54.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.926e-05/5.936, allocations: 11.2 kB / 0.8094 GB, free: 54.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/5.936, allocations: 7.875 kB / 0.8094 GB, free: 54.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/5.936, allocations: 54.62 kB / 0.8095 GB, free: 54.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/5.95, allocations: 5.797 MB / 0.8151 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/5.951, allocations: 0.5121 MB / 0.8156 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006375/5.952, allocations: 318.7 kB / 0.8159 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/5.952, allocations: 12.31 kB / 0.8159 GB, free: 50.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/5.952, allocations: 38.5 kB / 0.816 GB, free: 50.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.256e-06/5.952, allocations: 0 / 0.816 GB, free: 50.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003785/5.956, allocations: 1.186 MB / 0.8171 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/5.956, allocations: 59.75 kB / 0.8172 GB, free: 49.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/5.957, allocations: 395.3 kB / 0.8176 GB, free: 49.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/5.957, allocations: 32.66 kB / 0.8176 GB, free: 49.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/5.957, allocations: 345.9 kB / 0.8179 GB, free: 49.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/5.957, allocations: 164.9 kB / 0.8181 GB, free: 49.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/5.957, allocations: 0 / 0.8181 GB, free: 49.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/5.957, allocations: 366.6 kB / 0.8184 GB, free: 48.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/5.958, allocations: 260 kB / 0.8187 GB, free: 48.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/5.959, allocations: 452.6 kB / 0.8191 GB, free: 48.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/5.96, allocations: 327.9 kB / 0.8194 GB, free: 48.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/5.96, allocations: 7.844 kB / 0.8194 GB, free: 48.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003113/5.963, allocations: 0.9737 MB / 0.8204 GB, free: 48.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/5.963, allocations: 15.81 kB / 0.8204 GB, free: 48.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/5.963, allocations: 3.906 kB / 0.8204 GB, free: 48.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/5.964, allocations: 275.2 kB / 0.8207 GB, free: 48.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009538/5.965, allocations: 111.6 kB / 0.8208 GB, free: 48.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/5.973, allocations: 6.207 MB / 0.8268 GB, free: 43.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/5.974, allocations: 17.73 kB / 0.8268 GB, free: 43.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/5.974, allocations: 26.12 kB / 0.8269 GB, free: 43.61 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001996/5.974, allocations: 120.5 kB / 0.827 GB, free: 43.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/5.975, allocations: 70.34 kB / 0.8271 GB, free: 43.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/5.977, allocations: 0.8488 MB / 0.8279 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/5.977, allocations: 3.844 kB / 0.8279 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/5.977, allocations: 3.812 kB / 0.8279 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/5.977, allocations: 6.203 kB / 0.8279 GB, free: 43.35 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004226/5.982, allocations: 1.594 MB / 0.8295 GB, free: 42.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/5.982, allocations: 3.938 kB / 0.8295 GB, free: 42.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/5.982, allocations: 52.98 kB / 0.8295 GB, free: 42.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/5.984, allocations: 264.4 kB / 0.8298 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/5.984, allocations: 3.938 kB / 0.8298 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007769/5.991, allocations: 6.194 MB / 0.8358 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/5.992, allocations: 3.906 kB / 0.8358 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002605/5.994, allocations: 1.02 MB / 0.8368 GB, free: 37.7 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002677/5.997, allocations: 1.406 MB / 0.8382 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/5.998, allocations: 189.1 kB / 0.8384 GB, free: 36.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/5.998, allocations: 5.891 kB / 0.8384 GB, free: 36.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/5.998, allocations: 16.58 kB / 0.8384 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/5.999, allocations: 28.41 kB / 0.8384 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/5.999, allocations: 19.34 kB / 0.8384 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004895/5.999, allocations: 296.7 kB / 0.8387 GB, free: 36.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002059/6.001, allocations: 191.8 kB / 0.8389 GB, free: 36.73 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/6.002, allocations: 116.7 kB / 0.839 GB, free: 36.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002931/6.005, allocations: 1.147 MB / 0.8401 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/6.005, allocations: 0 / 0.8401 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/6.007, allocations: 0.8061 MB / 0.8409 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/6.008, allocations: 163.6 kB / 0.8411 GB, free: 35.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/6.012, allocations: 0.9919 MB / 0.842 GB, free: 35.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/6.013, allocations: 1.053 MB / 0.8431 GB, free: 34.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/6.013, allocations: 0 / 0.8431 GB, free: 34.69 MB / 0.6511 GB