Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.314, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001778/0.001778, allocations: 181 kB / 315.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.1 MB / 0.5658 GB, free: 25.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 91.61 kB / 0.67 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2979/0.2993, allocations: 112.4 MB / 0.7797 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.8454, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7742/1.62, allocations: 180.7 MB / 1.06 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000577/1.62, allocations: 96.62 kB / 1.06 GB, free: 53.9 MB / 0.6823 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.1752/1.796, allocations: 32.16 MB / 1.091 GB, free: 49.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/1.796, allocations: 12.47 kB / 1.091 GB, free: 49.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/1.799, allocations: 196.6 kB / 1.092 GB, free: 49.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/1.801, allocations: 499.9 kB / 1.092 GB, free: 49.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/1.802, allocations: 21.12 kB / 1.092 GB, free: 49.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/1.802, allocations: 39.36 kB / 1.092 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/1.803, allocations: 478.3 kB / 1.093 GB, free: 48.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.805, allocations: 0.7999 MB / 1.093 GB, free: 48.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/1.805, allocations: 9.844 kB / 1.093 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/1.805, allocations: 2.812 kB / 1.093 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-05/1.806, allocations: 51.56 kB / 1.093 GB, free: 48.51 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006648/1.812, allocations: 4.49 MB / 1.098 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/1.813, allocations: 285.1 kB / 1.098 GB, free: 44.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/1.813, allocations: 222.9 kB / 1.098 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/1.813, allocations: 2.5 kB / 1.098 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.813, allocations: 36.62 kB / 1.098 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.615e-06/1.814, allocations: 0 / 1.098 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.006955/1.82, allocations: 2.025 MB / 1.1 GB, free: 43.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/1.821, allocations: 56.22 kB / 1.1 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/1.821, allocations: 330.8 kB / 1.101 GB, free: 43.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/1.821, allocations: 25.7 kB / 1.101 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.821, allocations: 288.9 kB / 1.101 GB, free: 43.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.822, allocations: 138.4 kB / 1.101 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/1.822, allocations: 0 / 1.101 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.822, allocations: 361.3 kB / 1.101 GB, free: 42.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/1.822, allocations: 231.8 kB / 1.102 GB, free: 42.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/1.823, allocations: 374.3 kB / 1.102 GB, free: 42.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/1.824, allocations: 281.9 kB / 1.102 GB, free: 42.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.824, allocations: 3.875 kB / 1.102 GB, free: 42.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00263/1.826, allocations: 0.844 MB / 1.103 GB, free: 42.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.826, allocations: 10.67 kB / 1.103 GB, free: 42.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.826, allocations: 3.875 kB / 1.103 GB, free: 42.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.828, allocations: 218.6 kB / 1.103 GB, free: 42.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/1.829, allocations: 105.1 kB / 1.103 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/1.835, allocations: 4.619 MB / 1.108 GB, free: 38.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/1.836, allocations: 19.64 kB / 1.108 GB, free: 38.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/1.836, allocations: 22.88 kB / 1.108 GB, free: 38.36 MB / 0.6823 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.0001882/1.836, allocations: 122.7 kB / 1.108 GB, free: 38.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.837, allocations: 54.53 kB / 1.108 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/1.839, allocations: 0.7426 MB / 1.109 GB, free: 37.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.839, allocations: 3.875 kB / 1.109 GB, free: 37.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.839, allocations: 3.875 kB / 1.109 GB, free: 37.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/1.839, allocations: 3.984 kB / 1.109 GB, free: 37.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/1.843, allocations: 1.383 MB / 1.11 GB, free: 37.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.843, allocations: 3.938 kB / 1.11 GB, free: 37.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.845, allocations: 62.34 kB / 1.11 GB, free: 37.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/1.846, allocations: 208.5 kB / 1.111 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/1.846, allocations: 7.438 kB / 1.111 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/1.852, allocations: 4.536 MB / 1.115 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/1.852, allocations: 7.938 kB / 1.115 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002833/1.855, allocations: 1.186 MB / 1.116 GB, free: 32.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003574/1.858, allocations: 1.894 MB / 1.118 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/1.859, allocations: 173.4 kB / 1.118 GB, free: 31.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/1.859, allocations: 7.859 kB / 1.118 GB, free: 31.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/1.86, allocations: 7.859 kB / 1.118 GB, free: 31.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.86, allocations: 27.28 kB / 1.118 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/1.86, allocations: 15.31 kB / 1.118 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000631/1.861, allocations: 257.6 kB / 1.118 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003892/1.865, allocations: 155.5 kB / 1.119 GB, free: 31.71 MB / 0.6823 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.0004265/1.865, allocations: 106.7 kB / 1.119 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003835/1.869, allocations: 0.9151 MB / 1.12 GB, free: 31.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.869, allocations: 0 / 1.12 GB, free: 31.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/1.872, allocations: 0.6201 MB / 1.12 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.874, allocations: 143.3 kB / 1.12 GB, free: 30.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/1.879, allocations: 0.9635 MB / 1.121 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.88, allocations: 0.9882 MB / 1.122 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of SimCode: time 2.665e-06/1.88, allocations: 0 / 1.122 GB, free: 29.48 MB / 0.6823 GB