Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") [: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.395/2.395, allocations: 253.1 MB / 260.4 MB, free: 0.5391 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.001631/0.00163, allocations: 177.6 kB / 319.6 MB, free: 7.668 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.162/2.162, allocations: 205.4 MB / 0.5704 GB, free: 25.59 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.001338/0.001337, allocations: 91.39 kB / 0.6746 GB, free: 3.047 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 9.198e-06/9.277e-06, allocations: 0 / 0.7843 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5052, allocations: 106.2 MB / 0.8881 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6815/1.187, allocations: 167.5 MB / 1.052 GB, free: 62.19 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/1.187, allocations: 100.2 kB / 1.052 GB, free: 62.19 MB / 0.6824 GB Notification: Performance of FrontEnd: time 0.3968/1.584, allocations: 94.81 MB / 1.144 GB, free: 35.03 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0001988/1.584, allocations: 53.88 kB / 1.144 GB, free: 35.02 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01045/1.595, allocations: 2.187 MB / 1.147 GB, free: 33.71 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.595, allocations: 9.219 kB / 1.147 GB, free: 33.71 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007846/1.603, allocations: 0.6896 MB / 1.147 GB, free: 33.39 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/1.608, allocations: 1.456 MB / 1.149 GB, free: 32.82 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.608, allocations: 86.12 kB / 1.149 GB, free: 32.82 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/1.61, allocations: 142.4 kB / 1.149 GB, free: 32.82 MB / 0.6824 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01175/1.622, allocations: 3.074 MB / 1.152 GB, free: 32.29 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/1.638, allocations: 3.881 MB / 1.156 GB, free: 30 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001597/1.639, allocations: 16 kB / 1.156 GB, free: 29.99 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008031/1.639, allocations: 4.75 kB / 1.156 GB, free: 29.99 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003167/1.64, allocations: 170.3 kB / 1.156 GB, free: 29.95 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/1.683, allocations: 21.15 MB / 1.176 GB, free: 8.902 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.684, allocations: 0.5396 MB / 1.177 GB, free: 8.289 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009729/1.685, allocations: 0.5181 MB / 1.177 GB, free: 7.746 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/1.685, allocations: 11.98 kB / 1.178 GB, free: 7.734 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.685, allocations: 50.5 kB / 1.178 GB, free: 7.676 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/1.685, allocations: 0 / 1.178 GB, free: 7.676 MB / 0.6824 GB Notification: Performance of matching and sorting (n=56): time 0.007675/1.693, allocations: 3.618 MB / 1.181 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.693, allocations: 243.3 kB / 1.181 GB, free: 3.715 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.696, allocations: 1.143 MB / 1.182 GB, free: 2.551 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.696, allocations: 29.7 kB / 1.182 GB, free: 2.516 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/1.696, allocations: 1.163 MB / 1.184 GB, free: 1.332 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.697, allocations: 201.3 kB / 1.184 GB, free: 1.133 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.697, allocations: 0 / 1.184 GB, free: 1.133 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.697, allocations: 406.6 kB / 1.184 GB, free: 0.7266 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.699, allocations: 0.7769 MB / 1.185 GB, free: 15.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/1.702, allocations: 1.454 MB / 1.186 GB, free: 14.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/1.705, allocations: 1.147 MB / 1.187 GB, free: 13.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/1.705, allocations: 8 kB / 1.187 GB, free: 13 MB / 0.698 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007654/1.713, allocations: 2.281 MB / 1.19 GB, free: 10.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.004283/1.717, allocations: 9.37 MB / 1.199 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.637e-05/1.717, allocations: 24 kB / 1.199 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.394e-05/1.718, allocations: 39.91 kB / 1.199 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/1.721, allocations: 419.3 kB / 1.199 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.538e-05/1.721, allocations: 47.8 kB / 1.199 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/1.725, allocations: 171.4 kB / 1.2 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/1.726, allocations: 83.98 kB / 1.2 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.726, allocations: 4 kB / 1.2 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006177/1.732, allocations: 1.907 MB / 1.201 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-05/1.732, allocations: 28.03 kB / 1.202 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.143e-05/1.732, allocations: 36 kB / 1.202 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/1.735, allocations: 387.3 kB / 1.202 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.195e-05/1.735, allocations: 43.86 kB / 1.202 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.738, allocations: 111.5 kB / 1.202 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/1.738, allocations: 83.98 kB / 1.202 GB, free: 13.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0005136/1.739, allocations: 168.2 kB / 1.202 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005603/1.739, allocations: 102.8 kB / 1.202 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/1.742, allocations: 0.8783 MB / 1.203 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.742, allocations: 11.91 kB / 1.203 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.742, allocations: 3.938 kB / 1.203 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.742, allocations: 7.984 kB / 1.203 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.761, allocations: 8.023 MB / 1.211 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/1.761, allocations: 20.03 kB / 1.211 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.762, allocations: 127.7 kB / 1.211 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.149e-05/1.762, allocations: 19.94 kB / 1.211 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/1.763, allocations: 16 kB / 1.211 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.938e-05/1.763, allocations: 27.86 kB / 1.211 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-05/1.763, allocations: 19.94 kB / 1.211 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003729/1.766, allocations: 2.36 MB / 1.214 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.768, allocations: 343.5 kB / 1.214 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/1.768, allocations: 19.98 kB / 1.214 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.77, allocations: 67.91 kB / 1.214 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/1.77, allocations: 59.7 kB / 1.214 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/1.771, allocations: 35.94 kB / 1.214 GB, free: 220 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.00245/1.773, allocations: 0.8642 MB / 1.215 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006001/1.779, allocations: 0.7538 MB / 1.216 GB, free: 14.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0004736/1.78, allocations: 135.2 kB / 1.216 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006876/1.787, allocations: 2.512 MB / 1.218 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/1.787, allocations: 0 / 1.218 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.788, allocations: 455.7 kB / 1.219 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.791, allocations: 212.2 kB / 1.219 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.804, allocations: 3.496 MB / 1.222 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005367/1.809, allocations: 2.139 MB / 1.224 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of SimCode: time 3.707e-06/1.81, allocations: 0 / 1.224 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of Templates: time 0.0663/1.876, allocations: 21.34 MB / 1.245 GB, free: 204 kB / 0.7449 GB