Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.117/2.117, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 189.2 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 93.09 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.494e-06, allocations: 0 / 0.8503 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5413, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2569/0.7982, allocations: 180.3 MB / 1.139 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.7986, allocations: 94.86 kB / 1.139 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1188/0.9174, allocations: 30.79 MB / 1.169 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.112e-05/0.9175, allocations: 20 kB / 1.169 GB, free: 9.289 MB / 0.7761 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.001933/0.9194, allocations: 0.798 MB / 1.17 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.9195, allocations: 8.031 kB / 1.17 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.9218, allocations: 201.8 kB / 1.17 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.9232, allocations: 499.8 kB / 1.171 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.9233, allocations: 16 kB / 1.171 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.9235, allocations: 32 kB / 1.171 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001365/0.9249, allocations: 478.1 kB / 1.171 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.9266, allocations: 0.8065 MB / 1.172 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.9267, allocations: 0 / 1.172 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.9268, allocations: 4 kB / 1.172 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.86e-05/0.9269, allocations: 48.97 kB / 1.172 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.9336, allocations: 4.501 MB / 1.176 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.9344, allocations: 276.1 kB / 1.177 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.9349, allocations: 224.8 kB / 1.177 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.9349, allocations: 0 / 1.177 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.935, allocations: 38.56 kB / 1.177 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.935, allocations: 0 / 1.177 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.006867/0.9419, allocations: 2.027 MB / 1.179 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.9419, allocations: 59.34 kB / 1.179 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.9425, allocations: 329 kB / 1.179 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.9426, allocations: 25.7 kB / 1.179 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.9428, allocations: 287.7 kB / 1.179 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.943, allocations: 141.9 kB / 1.18 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.943, allocations: 0 / 1.18 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.9432, allocations: 362.7 kB / 1.18 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.9438, allocations: 221.2 kB / 1.18 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.9446, allocations: 372.1 kB / 1.18 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.9453, allocations: 289.4 kB / 1.181 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.9453, allocations: 1.875 kB / 1.181 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002805/0.9482, allocations: 0.8396 MB / 1.182 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9482, allocations: 8.547 kB / 1.182 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.9482, allocations: 4 kB / 1.182 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.9496, allocations: 218.4 kB / 1.182 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009692/0.9506, allocations: 111.8 kB / 1.182 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007262/0.9579, allocations: 4.624 MB / 1.186 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/0.9587, allocations: 11.98 kB / 1.186 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.9588, allocations: 20.06 kB / 1.186 GB, free: 6.387 MB / 0.7917 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.000183/0.959, allocations: 120.8 kB / 1.187 GB, free: 6.262 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.9591, allocations: 59.28 kB / 1.187 GB, free: 6.203 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.9618, allocations: 0.7344 MB / 1.187 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.9618, allocations: 7.906 kB / 1.187 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9619, allocations: 8 kB / 1.187 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.9619, allocations: 3.984 kB / 1.187 GB, free: 5.43 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.9658, allocations: 1.371 MB / 1.189 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.9658, allocations: 4 kB / 1.189 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.9665, allocations: 63.91 kB / 1.189 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.9678, allocations: 202.6 kB / 1.189 GB, free: 3.711 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.9679, allocations: 4 kB / 1.189 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006985/0.9749, allocations: 4.543 MB / 1.193 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.9749, allocations: 4 kB / 1.193 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003259/0.9782, allocations: 1.199 MB / 1.195 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.9786, allocations: 170 kB / 1.195 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.9787, allocations: 4 kB / 1.195 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.9793, allocations: 15.97 kB / 1.195 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.9794, allocations: 19.97 kB / 1.195 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.9794, allocations: 20 kB / 1.195 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0004237/0.9799, allocations: 247.2 kB / 1.195 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000918/0.9808, allocations: 151.9 kB / 1.195 GB, free: 12.9 MB / 0.8073 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.0002184/0.981, allocations: 116.9 kB / 1.195 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.9835, allocations: 0.9129 MB / 1.196 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9835, allocations: 4 kB / 1.196 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.985, allocations: 0.6108 MB / 1.197 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.9862, allocations: 139.7 kB / 1.197 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.9891, allocations: 0.9653 MB / 1.198 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.9902, allocations: 0.9881 MB / 1.199 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.9902, allocations: 0 / 1.199 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of Templates: time 0.0234/1.014, allocations: 8.159 MB / 1.207 GB, free: 1.062 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)