Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [: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.188/2.188, allocations: 253.1 MB / 260.4 MB, free: 7.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 181.3 kB / 319.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 90.22 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.989e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/0.9779, allocations: 156.1 MB / 1.04 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.9784, allocations: 103 kB / 1.041 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.4094/1.388, allocations: 85.38 MB / 1.124 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002174/1.388, allocations: 43.92 kB / 1.124 GB, free: 4.523 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006863/1.395, allocations: 1.537 MB / 1.126 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/1.395, allocations: 8.031 kB / 1.126 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/1.408, allocations: 0.6143 MB / 1.126 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005032/1.413, allocations: 0.892 MB / 1.127 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/1.413, allocations: 43.91 kB / 1.127 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009101/1.414, allocations: 72 kB / 1.127 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007559/1.422, allocations: 1.395 MB / 1.128 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.432, allocations: 2.168 MB / 1.131 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/1.432, allocations: 15.84 kB / 1.131 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006517/1.433, allocations: 8 kB / 1.131 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000394/1.433, allocations: 154.3 kB / 1.131 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/1.466, allocations: 12.24 MB / 1.143 GB, free: 52 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006521/1.473, allocations: 1.49 MB / 1.144 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/1.475, allocations: 0.5933 MB / 1.145 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/1.476, allocations: 110 kB / 1.145 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/1.476, allocations: 47.47 kB / 1.145 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 6.773e-06/1.476, allocations: 0 / 1.145 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.01399/1.49, allocations: 2.457 MB / 1.147 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/1.49, allocations: 68.31 kB / 1.147 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/1.492, allocations: 0.66 MB / 1.148 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/1.493, allocations: 29.64 kB / 1.148 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007815/1.493, allocations: 0.5949 MB / 1.149 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/1.494, allocations: 382.5 kB / 1.149 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/1.495, allocations: 0 / 1.149 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002855/1.495, allocations: 357.9 kB / 1.149 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.497, allocations: 0.5818 MB / 1.15 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/1.501, allocations: 1.013 MB / 1.151 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/1.506, allocations: 0.8615 MB / 1.152 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/1.506, allocations: 4 kB / 1.152 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01047/1.516, allocations: 2.043 MB / 1.154 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.516, allocations: 7.938 kB / 1.154 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/1.516, allocations: 16 kB / 1.154 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/1.518, allocations: 255.3 kB / 1.154 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/1.522, allocations: 335.5 kB / 1.154 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03048/1.553, allocations: 10.29 MB / 1.164 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006908/1.56, allocations: 63.92 kB / 1.164 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/1.56, allocations: 67.98 kB / 1.164 GB, free: 8.473 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004923/1.561, allocations: 152.5 kB / 1.165 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/1.561, allocations: 118.6 kB / 1.165 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007975/1.569, allocations: 1.696 MB / 1.166 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/1.569, allocations: 15.98 kB / 1.166 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.569, allocations: 0 / 1.166 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/1.57, allocations: 7.984 kB / 1.166 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.582, allocations: 3.119 MB / 1.169 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.582, allocations: 4 kB / 1.169 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.584, allocations: 199.7 kB / 1.17 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/1.586, allocations: 247 kB / 1.17 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/1.586, allocations: 15.84 kB / 1.17 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.602, allocations: 10.26 MB / 1.18 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/1.602, allocations: 8 kB / 1.18 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007513/1.609, allocations: 2.08 MB / 1.182 GB, free: 5.211 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.611, allocations: 315.5 kB / 1.182 GB, free: 4.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/1.611, allocations: 7.984 kB / 1.182 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.613, allocations: 43.94 kB / 1.182 GB, free: 4.832 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.614, allocations: 76.53 kB / 1.182 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.614, allocations: 36 kB / 1.182 GB, free: 4.723 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001587/1.615, allocations: 0.4939 MB / 1.183 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003487/1.619, allocations: 351.9 kB / 1.183 GB, free: 3.875 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005147/1.619, allocations: 132 kB / 1.183 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007622/1.627, allocations: 2.324 MB / 1.186 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/1.627, allocations: 0 / 1.186 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/1.632, allocations: 1.534 MB / 1.187 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.635, allocations: 271 kB / 1.187 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007507/1.642, allocations: 2.152 MB / 1.189 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/1.645, allocations: 1.456 MB / 1.191 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.703e-06/1.645, allocations: 0 / 1.191 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.05789/1.703, allocations: 17.63 MB / 1.208 GB, free: 10.19 MB / 0.823 GB