Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [: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.312/2.312, 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.0017/0.001699, allocations: 173.3 kB / 319.6 MB, free: 3.355 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 2.082/2.082, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.002106/0.002106, allocations: 85.95 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/9.958e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 106.2 MB / 0.8881 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.9454, allocations: 174.1 MB / 1.058 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004489/0.9459, allocations: 101.7 kB / 1.058 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.515/1.461, allocations: 110.6 MB / 1.166 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002201/1.461, allocations: 71.92 kB / 1.166 GB, free: 9.16 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01143/1.473, allocations: 2.423 MB / 1.169 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.473, allocations: 19.97 kB / 1.169 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007205/1.48, allocations: 0.6522 MB / 1.169 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/1.486, allocations: 1.613 MB / 1.171 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/1.486, allocations: 95.91 kB / 1.171 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/1.488, allocations: 168 kB / 1.171 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01259/1.501, allocations: 3.315 MB / 1.174 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/1.519, allocations: 4.228 MB / 1.178 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/1.519, allocations: 11.88 kB / 1.178 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008563/1.52, allocations: 4 kB / 1.178 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003261/1.52, allocations: 192.6 kB / 1.179 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04375/1.564, allocations: 22.14 MB / 1.2 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/1.568, allocations: 1.374 MB / 1.202 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/1.571, allocations: 1.11 MB / 1.203 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/1.572, allocations: 97.69 kB / 1.203 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.572, allocations: 39.22 kB / 1.203 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=72): time 3.988e-06/1.572, allocations: 0 / 1.203 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75): time 0.008963/1.581, allocations: 3.007 MB / 1.206 GB, free: 14.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/1.581, allocations: 137.2 kB / 1.206 GB, free: 13.98 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.583, allocations: 0.8201 MB / 1.207 GB, free: 13.15 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/1.583, allocations: 25.7 kB / 1.207 GB, free: 13.12 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.584, allocations: 1.138 MB / 1.208 GB, free: 11.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/1.585, allocations: 264.2 kB / 1.208 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/1.585, allocations: 0 / 1.208 GB, free: 11.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002908/1.585, allocations: 398.7 kB / 1.208 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.587, allocations: 0.7873 MB / 1.209 GB, free: 10.51 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/1.59, allocations: 1.265 MB / 1.21 GB, free: 9.027 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/1.594, allocations: 1.089 MB / 1.211 GB, free: 7.938 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/1.594, allocations: 4 kB / 1.211 GB, free: 7.934 MB / 0.823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006671/1.6, allocations: 2.158 MB / 1.214 GB, free: 5.766 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002533/1.603, allocations: 5.486 MB / 1.219 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-05/1.603, allocations: 16 kB / 1.219 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-05/1.603, allocations: 24 kB / 1.219 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.607, allocations: 379.4 kB / 1.219 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.906e-05/1.607, allocations: 27.92 kB / 1.219 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.61, allocations: 171.3 kB / 1.22 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/1.61, allocations: 59.98 kB / 1.22 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.61, allocations: 7.875 kB / 1.22 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004991/1.615, allocations: 1.712 MB / 1.221 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/1.615, allocations: 16 kB / 1.221 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/1.615, allocations: 24 kB / 1.221 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.618, allocations: 347.4 kB / 1.222 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/1.618, allocations: 23.94 kB / 1.222 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.621, allocations: 115.6 kB / 1.222 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.621, allocations: 52 kB / 1.222 GB, free: 12.9 MB / 0.8386 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004737/1.621, allocations: 152.5 kB / 1.222 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.622, allocations: 90.88 kB / 1.222 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/1.626, allocations: 1.566 MB / 1.224 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.626, allocations: 12 kB / 1.224 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.626, allocations: 0 / 1.224 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/1.626, allocations: 7.891 kB / 1.224 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/1.644, allocations: 7.154 MB / 1.231 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.645, allocations: 13 kB / 1.231 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.647, allocations: 231.6 kB / 1.231 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.09e-05/1.647, allocations: 16 kB / 1.231 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1.647, allocations: 16 kB / 1.231 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/1.647, allocations: 19.92 kB / 1.231 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.819e-05/1.647, allocations: 15.94 kB / 1.231 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005085/1.652, allocations: 2.51 MB / 1.233 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.654, allocations: 371.6 kB / 1.234 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/1.654, allocations: 15.98 kB / 1.234 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.656, allocations: 75.89 kB / 1.234 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/1.656, allocations: 71.77 kB / 1.234 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.656, allocations: 28 kB / 1.234 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001424/1.658, allocations: 0.6201 MB / 1.235 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00473/1.663, allocations: 0.7656 MB / 1.235 GB, free: 14.53 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004552/1.663, allocations: 134.9 kB / 1.235 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006753/1.67, allocations: 2.654 MB / 1.238 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/1.67, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.672, allocations: 0.7566 MB / 1.239 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.674, allocations: 231.1 kB / 1.239 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/1.688, allocations: 3.907 MB / 1.243 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005044/1.693, allocations: 2.267 MB / 1.245 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of SimCode: time 1.253e-06/1.693, allocations: 3.938 kB / 1.245 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.5019/2.195, allocations: 23.88 MB / 1.268 GB, free: 188.4 MB / 0.8698 GB