Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.355/1.355, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009513/0.0009515, allocations: 177.3 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.041/1.041, allocations: 205.2 MB / 0.6256 GB, free: 5.863 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007913/0.0007913, allocations: 94.33 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1915/0.1923, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.6, allocations: 116.3 MB / 0.9727 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.7713, allocations: 188.1 MB / 1.156 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.7715, allocations: 92.77 kB / 1.156 GB, free: 8.168 MB / 0.7605 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.07082/0.8424, allocations: 32.15 MB / 1.188 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.8424, allocations: 8 kB / 1.188 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.8439, allocations: 202.9 kB / 1.188 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.8448, allocations: 497.5 kB / 1.189 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.8449, allocations: 16 kB / 1.189 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.845, allocations: 39.89 kB / 1.189 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007211/0.8458, allocations: 478.1 kB / 1.189 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.8468, allocations: 0.8058 MB / 1.19 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.8468, allocations: 7.938 kB / 1.19 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.8469, allocations: 4 kB / 1.19 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/0.8469, allocations: 48.97 kB / 1.19 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.851, allocations: 4.493 MB / 1.194 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.8513, allocations: 278.5 kB / 1.195 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.8516, allocations: 230.9 kB / 1.195 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.8517, allocations: 3.938 kB / 1.195 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8517, allocations: 34.56 kB / 1.195 GB, free: 60 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.8517, allocations: 0 / 1.195 GB, free: 60 kB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.00383/0.8555, allocations: 2.022 MB / 1.197 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.8556, allocations: 55.41 kB / 1.197 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.8559, allocations: 337 kB / 1.197 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.856, allocations: 25.7 kB / 1.197 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.8561, allocations: 291.6 kB / 1.197 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/0.8562, allocations: 134 kB / 1.198 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.8562, allocations: 0 / 1.198 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8564, allocations: 358.8 kB / 1.198 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.8567, allocations: 225.2 kB / 1.198 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.8571, allocations: 376.1 kB / 1.198 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.8575, allocations: 289.4 kB / 1.199 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8575, allocations: 0 / 1.199 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001481/0.859, allocations: 0.8397 MB / 1.2 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.859, allocations: 8.469 kB / 1.2 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.859, allocations: 4 kB / 1.2 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007753/0.8598, allocations: 230.3 kB / 1.2 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.8603, allocations: 107.9 kB / 1.2 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.8646, allocations: 4.623 MB / 1.204 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.865, allocations: 15.89 kB / 1.204 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.8651, allocations: 20.06 kB / 1.204 GB, free: 5.586 MB / 0.8073 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.0001126/0.8652, allocations: 119.2 kB / 1.205 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.8653, allocations: 55.34 kB / 1.205 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.8667, allocations: 0.7346 MB / 1.205 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.8667, allocations: 11.84 kB / 1.205 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8667, allocations: 11.94 kB / 1.205 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8667, allocations: 3.984 kB / 1.205 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.8689, allocations: 1.369 MB / 1.207 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.8689, allocations: 0 / 1.207 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.8693, allocations: 67.89 kB / 1.207 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006852/0.87, allocations: 198.6 kB / 1.207 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.87, allocations: 4 kB / 1.207 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/0.874, allocations: 4.545 MB / 1.211 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.874, allocations: 0 / 1.211 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/0.8757, allocations: 1.197 MB / 1.213 GB, free: 12.74 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002109/0.8778, allocations: 1.892 MB / 1.214 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.8781, allocations: 168.4 kB / 1.215 GB, free: 10.57 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.8782, allocations: 11.98 kB / 1.215 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.8785, allocations: 16.05 kB / 1.215 GB, free: 10.54 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.8785, allocations: 23.91 kB / 1.215 GB, free: 10.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.8786, allocations: 16 kB / 1.215 GB, free: 10.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002441/0.8788, allocations: 255.2 kB / 1.215 GB, free: 10.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001205/0.88, allocations: 155.8 kB / 1.215 GB, free: 10.1 MB / 0.823 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.0001877/0.8802, allocations: 111.9 kB / 1.215 GB, free: 9.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.8816, allocations: 0.9238 MB / 1.216 GB, free: 9.027 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8816, allocations: 4 kB / 1.216 GB, free: 9.023 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.8824, allocations: 0.6186 MB / 1.217 GB, free: 8.375 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.8831, allocations: 131.8 kB / 1.217 GB, free: 8.254 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.8849, allocations: 0.9673 MB / 1.218 GB, free: 7.234 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/0.8855, allocations: 0.9915 MB / 1.219 GB, free: 6.215 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/0.8855, allocations: 0 / 1.219 GB, free: 6.215 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)