Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 248.6 MB / 255.9 MB, free: 7.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001675, allocations: 187.9 kB / 315.1 MB, free: 4.285 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.055/2.055, allocations: 205.2 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 91.31 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5671/0.5689, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.853, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7379/1.591, allocations: 175.1 MB / 1.054 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005216/1.592, allocations: 96.48 kB / 1.055 GB, free: 15.47 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.1892/1.781, allocations: 31.61 MB / 1.085 GB, free: 4.988 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/1.781, allocations: 11.94 kB / 1.085 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/1.785, allocations: 195 kB / 1.086 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/1.788, allocations: 0.4888 MB / 1.086 GB, free: 4.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/1.788, allocations: 16 kB / 1.086 GB, free: 4.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/1.788, allocations: 35.91 kB / 1.086 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00215/1.79, allocations: 474.3 kB / 1.087 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/1.794, allocations: 0.8007 MB / 1.087 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.564e-05/1.794, allocations: 11.92 kB / 1.087 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/1.794, allocations: 4 kB / 1.087 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.794, allocations: 44.91 kB / 1.087 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/1.805, allocations: 4.503 MB / 1.092 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/1.806, allocations: 277.4 kB / 1.092 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000756/1.807, allocations: 218.3 kB / 1.092 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/1.807, allocations: 4 kB / 1.092 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/1.807, allocations: 36.62 kB / 1.092 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 5.229e-06/1.807, allocations: 7.938 kB / 1.092 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.01002/1.817, allocations: 2.015 MB / 1.094 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/1.817, allocations: 59.41 kB / 1.094 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/1.818, allocations: 325.8 kB / 1.095 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.818, allocations: 25.7 kB / 1.095 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/1.819, allocations: 294.4 kB / 1.095 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/1.819, allocations: 139.5 kB / 1.095 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/1.819, allocations: 0 / 1.095 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002983/1.82, allocations: 358.7 kB / 1.095 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008527/1.82, allocations: 225.9 kB / 1.096 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.821, allocations: 376.6 kB / 1.096 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.823, allocations: 284.4 kB / 1.096 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.823, allocations: 4 kB / 1.096 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004252/1.827, allocations: 0.8395 MB / 1.097 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/1.827, allocations: 4.562 kB / 1.097 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.827, allocations: 8 kB / 1.097 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/1.829, allocations: 220.1 kB / 1.097 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.831, allocations: 111.4 kB / 1.097 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.842, allocations: 4.618 MB / 1.102 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.843, allocations: 15.98 kB / 1.102 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.843, allocations: 19.19 kB / 1.102 GB, free: 5.27 MB / 0.7136 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.0003662/1.844, allocations: 119.9 kB / 1.102 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/1.844, allocations: 55.33 kB / 1.102 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/1.848, allocations: 0.7386 MB / 1.103 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/1.848, allocations: 8 kB / 1.103 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.848, allocations: 7.938 kB / 1.103 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/1.848, allocations: 3.984 kB / 1.103 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/1.854, allocations: 1.379 MB / 1.104 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.854, allocations: 0 / 1.104 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.856, allocations: 67.84 kB / 1.104 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001918/1.858, allocations: 208 kB / 1.105 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.858, allocations: 4 kB / 1.105 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/1.868, allocations: 4.54 MB / 1.109 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.051e-05/1.868, allocations: 8 kB / 1.109 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004438/1.873, allocations: 1.197 MB / 1.11 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006059/1.879, allocations: 1.886 MB / 1.112 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/1.88, allocations: 169.8 kB / 1.112 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.88, allocations: 4.047 kB / 1.112 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/1.881, allocations: 15.98 kB / 1.112 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.881, allocations: 23.66 kB / 1.112 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/1.881, allocations: 11.44 kB / 1.112 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0006566/1.882, allocations: 251.5 kB / 1.112 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003294/1.885, allocations: 152 kB / 1.113 GB, free: 11.46 MB / 0.7292 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.0004571/1.886, allocations: 118.2 kB / 1.113 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003715/1.889, allocations: 0.9079 MB / 1.114 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/1.89, allocations: 0 / 1.114 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/1.892, allocations: 0.6262 MB / 1.114 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/1.894, allocations: 137.3 kB / 1.114 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/1.899, allocations: 0.9552 MB / 1.115 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.901, allocations: 0.9895 MB / 1.116 GB, free: 8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.633e-06/1.901, allocations: 0 / 1.116 GB, free: 8 MB / 0.7292 GB