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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.15/2.15, 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.002323/0.002322, allocations: 181.2 kB / 360.4 MB, free: 7.473 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.624/1.624, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001224/0.001223, allocations: 94.47 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.11e-05, allocations: 4 kB / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.7745, allocations: 160.3 MB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.7749, allocations: 92.64 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1348/0.9098, allocations: 36.27 MB / 1.155 GB, free: 7.828 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.927e-05/0.9099, allocations: 23.94 kB / 1.155 GB, free: 7.805 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001902/0.9118, allocations: 0.8722 MB / 1.156 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9118, allocations: 8.031 kB / 1.156 GB, free: 6.879 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.9143, allocations: 214.8 kB / 1.156 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.9158, allocations: 0.5351 MB / 1.156 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.9159, allocations: 23.91 kB / 1.156 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.916, allocations: 44.83 kB / 1.157 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001555/0.9176, allocations: 0.5655 MB / 1.157 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9196, allocations: 1.006 MB / 1.158 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.9197, allocations: 11.84 kB / 1.158 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/0.9198, allocations: 6.188 kB / 1.158 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-05/0.9199, allocations: 65.2 kB / 1.158 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0072/0.9271, allocations: 5.66 MB / 1.164 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.928, allocations: 390.4 kB / 1.164 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.9287, allocations: 312.5 kB / 1.164 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.9287, allocations: 9.969 kB / 1.164 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.9288, allocations: 34.56 kB / 1.164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 2.776e-06/0.9288, allocations: 0 / 1.164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.003631/0.9324, allocations: 1.127 MB / 1.165 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.9325, allocations: 59.41 kB / 1.166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.933, allocations: 321 kB / 1.166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.9331, allocations: 25.7 kB / 1.166 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.9333, allocations: 327 kB / 1.166 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.9335, allocations: 141.9 kB / 1.166 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.9335, allocations: 4 kB / 1.166 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9337, allocations: 362.8 kB / 1.167 GB, free: 11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.9343, allocations: 225.2 kB / 1.167 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006973/0.935, allocations: 409.2 kB / 1.167 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.9357, allocations: 292.4 kB / 1.168 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9357, allocations: 7.906 kB / 1.168 GB, free: 10 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002869/0.9386, allocations: 0.8979 MB / 1.168 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9386, allocations: 8.781 kB / 1.168 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.9386, allocations: 8.688 kB / 1.168 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.9403, allocations: 291.1 kB / 1.169 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.941, allocations: 87.89 kB / 1.169 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/0.9499, allocations: 6.216 MB / 1.175 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.9506, allocations: 17.2 kB / 1.175 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.9507, allocations: 20 kB / 1.175 GB, free: 1.984 MB / 0.7761 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.000175/0.9509, allocations: 127.8 kB / 1.175 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.951, allocations: 51.34 kB / 1.175 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.9538, allocations: 0.818 MB / 1.176 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.9538, allocations: 4 kB / 1.176 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9538, allocations: 8 kB / 1.176 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.9538, allocations: 0 / 1.176 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.958, allocations: 1.519 MB / 1.177 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.9581, allocations: 6.125 kB / 1.177 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.9585, allocations: 35.98 kB / 1.177 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.9601, allocations: 288.1 kB / 1.178 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.9601, allocations: 4 kB / 1.178 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008741/0.9689, allocations: 6.197 MB / 1.184 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.9689, allocations: 9.359 kB / 1.184 GB, free: 8.367 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002736/0.9717, allocations: 0.982 MB / 1.185 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.972, allocations: 172.4 kB / 1.185 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.9722, allocations: 0 / 1.185 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.9726, allocations: 11.98 kB / 1.185 GB, free: 7.098 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.9727, allocations: 31.81 kB / 1.185 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.9728, allocations: 12 kB / 1.185 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0003893/0.9732, allocations: 243.2 kB / 1.185 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001008/0.9742, allocations: 164 kB / 1.185 GB, free: 6.656 MB / 0.7917 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.0001923/0.9744, allocations: 107.5 kB / 1.185 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.9771, allocations: 1.067 MB / 1.186 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9771, allocations: 0 / 1.186 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.979, allocations: 0.7607 MB / 1.187 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.9804, allocations: 155.5 kB / 1.187 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.983, allocations: 0.9075 MB / 1.188 GB, free: 3.539 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008976/0.9839, allocations: 1.02 MB / 1.189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of SimCode: time 9.51e-07/0.9839, allocations: 0 / 1.189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of Templates: time 0.02426/1.008, allocations: 8.695 MB / 1.198 GB, free: 9.969 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)