Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [: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.316/1.316, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0009481/0.0009481, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.007/1.007, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0007909/0.0007909, allocations: 92.64 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.5e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4086, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.565, allocations: 161.5 MB / 1.13 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5653, allocations: 91.94 kB / 1.13 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07709/0.6424, allocations: 36.28 MB / 1.166 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.819e-05/0.6425, allocations: 20 kB / 1.166 GB, free: 14.26 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001214/0.6437, allocations: 0.8683 MB / 1.167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6437, allocations: 8.031 kB / 1.167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.6452, allocations: 218.8 kB / 1.167 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.646, allocations: 0.539 MB / 1.167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.6461, allocations: 23.91 kB / 1.167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.6462, allocations: 39.98 kB / 1.167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000809/0.647, allocations: 0.5655 MB / 1.168 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.6482, allocations: 1.002 MB / 1.169 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.6482, allocations: 11.84 kB / 1.169 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.6483, allocations: 4 kB / 1.169 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.129e-05/0.6483, allocations: 69.2 kB / 1.169 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004331/0.6527, allocations: 5.664 MB / 1.175 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.6532, allocations: 390.4 kB / 1.175 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.6535, allocations: 304.8 kB / 1.175 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.6536, allocations: 7.938 kB / 1.175 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.6536, allocations: 35.25 kB / 1.175 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 1.462e-06/0.6536, allocations: 0 / 1.175 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.001999/0.6556, allocations: 1.127 MB / 1.176 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.6556, allocations: 55.41 kB / 1.176 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.656, allocations: 329 kB / 1.177 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.656, allocations: 25.7 kB / 1.177 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.6562, allocations: 331 kB / 1.177 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.6563, allocations: 141.9 kB / 1.177 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.6563, allocations: 3.938 kB / 1.177 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6564, allocations: 358.8 kB / 1.178 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.6567, allocations: 229.2 kB / 1.178 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.6571, allocations: 409.2 kB / 1.178 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.6575, allocations: 296.3 kB / 1.178 GB, free: 456 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6575, allocations: 7.906 kB / 1.178 GB, free: 448 kB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001534/0.659, allocations: 0.8985 MB / 1.179 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6591, allocations: 8 kB / 1.179 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6591, allocations: 7.938 kB / 1.179 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/0.66, allocations: 283.9 kB / 1.18 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.6603, allocations: 91.83 kB / 1.18 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.6657, allocations: 6.211 MB / 1.186 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.666, allocations: 15.98 kB / 1.186 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.6661, allocations: 24 kB / 1.186 GB, free: 8.418 MB / 0.7917 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.6662, allocations: 126.2 kB / 1.186 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.6663, allocations: 55.34 kB / 1.186 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.6677, allocations: 0.8218 MB / 1.187 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6678, allocations: 4 kB / 1.187 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6678, allocations: 4 kB / 1.187 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6678, allocations: 0 / 1.187 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.67, allocations: 1.522 MB / 1.188 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.67, allocations: 0 / 1.188 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.6702, allocations: 43.92 kB / 1.188 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008193/0.6711, allocations: 271.3 kB / 1.189 GB, free: 5.469 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.6711, allocations: 8 kB / 1.189 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/0.6764, allocations: 6.208 MB / 1.195 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6764, allocations: 3.938 kB / 1.195 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/0.6778, allocations: 0.9782 MB / 1.196 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.6781, allocations: 176.4 kB / 1.196 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.6781, allocations: 0 / 1.196 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.6784, allocations: 11.98 kB / 1.196 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.6785, allocations: 19.88 kB / 1.196 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.6785, allocations: 16 kB / 1.196 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002121/0.6787, allocations: 243.2 kB / 1.196 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000599/0.6793, allocations: 164 kB / 1.196 GB, free: 13.09 MB / 0.8073 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 (25): * Single equations (assignments): 21 * 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,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.6795, allocations: 118.9 kB / 1.196 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.681, allocations: 1.067 MB / 1.197 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.681, allocations: 0 / 1.197 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.682, allocations: 0.7567 MB / 1.198 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.6828, allocations: 158.3 kB / 1.198 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.6843, allocations: 0.9069 MB / 1.199 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.685, allocations: 1.02 MB / 1.2 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of SimCode: time 2.51e-07/0.685, allocations: 4 kB / 1.2 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.0139/0.6989, allocations: 8.694 MB / 1.209 GB, free: 296 kB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)