Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [: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 7.0.1/package.mo): time 2.17/2.17, allocations: 253.1 MB / 260.4 MB, free: 8.523 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002466/0.002466, allocations: 175.2 kB / 319.6 MB, free: 8.117 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.5704 GB, free: 4.176 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 91.92 kB / 0.6746 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 1.227e-05/1.242e-05, allocations: 0 / 0.7843 GB, free: 106.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2321, allocations: 106.3 MB / 0.8881 GB, free: 0.5 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8171/1.049, allocations: 173.5 MB / 1.058 GB, free: 5.961 MB / 0.67 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004519/1.05, allocations: 98.3 kB / 1.058 GB, free: 5.906 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.3982/1.448, allocations: 76.88 MB / 1.133 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000187/1.448, allocations: 43.98 kB / 1.133 GB, free: 2.617 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005379/1.454, allocations: 1.54 MB / 1.134 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.454, allocations: 8.031 kB / 1.134 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/1.474, allocations: 1.468 MB / 1.136 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/1.479, allocations: 1.146 MB / 1.137 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/1.479, allocations: 40 kB / 1.137 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/1.48, allocations: 79.83 kB / 1.137 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005278/1.485, allocations: 1.492 MB / 1.138 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/1.491, allocations: 1.908 MB / 1.14 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.888e-05/1.491, allocations: 23.83 kB / 1.14 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/1.491, allocations: 4 kB / 1.14 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/1.492, allocations: 74.2 kB / 1.14 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/1.518, allocations: 9.783 MB / 1.15 GB, free: 108 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005542/1.524, allocations: 1.093 MB / 1.151 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/1.526, allocations: 0.6073 MB / 1.152 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/1.526, allocations: 4.438 kB / 1.152 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/1.527, allocations: 43 kB / 1.152 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 6.282e-06/1.527, allocations: 4 kB / 1.152 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.02294/1.549, allocations: 3.959 MB / 1.155 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.55, allocations: 218.3 kB / 1.156 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/1.552, allocations: 0.7461 MB / 1.156 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/1.552, allocations: 25.7 kB / 1.156 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/1.552, allocations: 0.5493 MB / 1.157 GB, free: 8.715 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/1.553, allocations: 271.9 kB / 1.157 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.553, allocations: 0 / 1.157 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.553, allocations: 349.9 kB / 1.158 GB, free: 8.098 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/1.555, allocations: 0.6892 MB / 1.158 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/1.557, allocations: 0.9321 MB / 1.159 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/1.56, allocations: 0.801 MB / 1.16 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.56, allocations: 4 kB / 1.16 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01033/1.571, allocations: 2.475 MB / 1.162 GB, free: 3.062 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.571, allocations: 8 kB / 1.162 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.571, allocations: 4 kB / 1.162 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/1.577, allocations: 0.85 MB / 1.163 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/1.581, allocations: 339.4 kB / 1.164 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02693/1.608, allocations: 13.83 MB / 1.177 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004835/1.613, allocations: 199.7 kB / 1.177 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/1.613, allocations: 47.97 kB / 1.177 GB, free: 2.848 MB / 0.7794 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004705/1.614, allocations: 128.7 kB / 1.177 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/1.615, allocations: 142.3 kB / 1.178 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.626, allocations: 2.525 MB / 1.18 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/1.626, allocations: 11.98 kB / 1.18 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/1.626, allocations: 8 kB / 1.18 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/1.626, allocations: 3.938 kB / 1.18 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.641, allocations: 4.088 MB / 1.184 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.641, allocations: 4 kB / 1.184 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00469/1.646, allocations: 283.9 kB / 1.184 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007481/1.653, allocations: 0.7639 MB / 1.185 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003441/1.654, allocations: 23.91 kB / 1.185 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06146/1.715, allocations: 13.38 MB / 1.198 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/1.715, allocations: 4 kB / 1.198 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01191/1.727, allocations: 2.472 MB / 1.201 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.729, allocations: 383.4 kB / 1.201 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/1.73, allocations: 4 kB / 1.201 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00534/1.735, allocations: 207.6 kB / 1.201 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/1.735, allocations: 40.59 kB / 1.201 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002787/1.736, allocations: 35.97 kB / 1.201 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 0.001886/1.738, allocations: 0.5602 MB / 1.202 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003494/1.741, allocations: 407.9 kB / 1.202 GB, free: 8.148 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005503/1.742, allocations: 135.1 kB / 1.202 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.752, allocations: 2.705 MB / 1.205 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.753, allocations: 4.062 kB / 1.205 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007506/1.76, allocations: 1.84 MB / 1.207 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/1.765, allocations: 407.5 kB / 1.207 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.783, allocations: 2.612 MB / 1.21 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/1.786, allocations: 1.491 MB / 1.211 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of SimCode: time 1.843e-06/1.786, allocations: 0 / 1.211 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of Templates: time 0.08453/1.87, allocations: 30.26 MB / 1.241 GB, free: 0.7305 MB / 0.8419 GB