Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009095/0.0009095, allocations: 169.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 90.25 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.163e-06, allocations: 3.938 kB / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3997, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5465, allocations: 161.6 MB / 1.121 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.5468, allocations: 88.69 kB / 1.122 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1907/0.7374, allocations: 85.38 MB / 1.205 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.04e-05/0.7375, allocations: 43.98 kB / 1.205 GB, free: 4.328 MB / 0.8073 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.002223/0.7398, allocations: 1.54 MB / 1.206 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.7398, allocations: 16.47 kB / 1.206 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/0.7441, allocations: 0.6143 MB / 1.207 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.7455, allocations: 0.892 MB / 1.208 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.7455, allocations: 44.62 kB / 1.208 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.7457, allocations: 75.91 kB / 1.208 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001975/0.7477, allocations: 1.399 MB / 1.209 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.7502, allocations: 2.152 MB / 1.212 GB, free: 13.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.7503, allocations: 15.94 kB / 1.212 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7504, allocations: 8 kB / 1.212 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.7505, allocations: 154.2 kB / 1.212 GB, free: 13.02 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.7606, allocations: 12.25 MB / 1.224 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.7624, allocations: 1.485 MB / 1.225 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.7631, allocations: 0.6012 MB / 1.226 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.7633, allocations: 98.09 kB / 1.226 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.7633, allocations: 43.56 kB / 1.226 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 1.944e-06/0.7633, allocations: 0 / 1.226 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.004142/0.7674, allocations: 2.468 MB / 1.228 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.7675, allocations: 64.41 kB / 1.228 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.7682, allocations: 0.6561 MB / 1.229 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.7682, allocations: 25.7 kB / 1.229 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.7685, allocations: 0.6104 MB / 1.23 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.7688, allocations: 362.6 kB / 1.23 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.7688, allocations: 0 / 1.23 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.769, allocations: 365.9 kB / 1.23 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/0.7697, allocations: 0.5818 MB / 1.231 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.7707, allocations: 1.009 MB / 1.232 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.7723, allocations: 0.8771 MB / 1.233 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.7723, allocations: 7.906 kB / 1.233 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003384/0.7757, allocations: 2.033 MB / 1.235 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7758, allocations: 18.05 kB / 1.235 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.7758, allocations: 12 kB / 1.235 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007724/0.7766, allocations: 258.6 kB / 1.235 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.7778, allocations: 331.4 kB / 1.235 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.7848, allocations: 10.28 MB / 1.245 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/0.7857, allocations: 63.91 kB / 1.245 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7858, allocations: 67.94 kB / 1.245 GB, free: 8.281 MB / 0.8542 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.0001865/0.786, allocations: 148.6 kB / 1.246 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7861, allocations: 122.5 kB / 1.246 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.789, allocations: 1.691 MB / 1.247 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.789, allocations: 15.91 kB / 1.247 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.789, allocations: 4 kB / 1.247 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.789, allocations: 3.984 kB / 1.247 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/0.7937, allocations: 3.13 MB / 1.25 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7937, allocations: 4 kB / 1.25 GB, free: 2.984 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.7945, allocations: 196.4 kB / 1.251 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007185/0.7952, allocations: 246.6 kB / 1.251 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.7953, allocations: 12 kB / 1.251 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.247/1.042, allocations: 10.25 MB / 1.261 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.042, allocations: 7.562 kB / 1.261 GB, free: 227.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002399/1.045, allocations: 2.09 MB / 1.263 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/1.045, allocations: 308.8 kB / 1.263 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.045, allocations: 10.19 kB / 1.263 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/1.046, allocations: 54.69 kB / 1.263 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.046, allocations: 62.62 kB / 1.263 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/1.046, allocations: 35.81 kB / 1.263 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0004731/1.047, allocations: 0.497 MB / 1.264 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001029/1.048, allocations: 344.1 kB / 1.264 GB, free: 226.3 MB / 0.8542 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.0001629/1.048, allocations: 136.1 kB / 1.264 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002264/1.05, allocations: 2.322 MB / 1.267 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.05, allocations: 0 / 1.267 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.052, allocations: 1.525 MB / 1.268 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.053, allocations: 273 kB / 1.268 GB, free: 224.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.056, allocations: 2.163 MB / 1.27 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.057, allocations: 1.448 MB / 1.272 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.9e-07/1.057, allocations: 0 / 1.272 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02109/1.078, allocations: 17.63 MB / 1.289 GB, free: 222.7 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)