Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [: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.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 9.867 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.0009116/0.0009116, allocations: 187.6 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 205.1 MB / 0.6195 GB, free: 2.957 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007401/0.0007401, allocations: 91.91 kB / 0.7326 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.172e-06, allocations: 1.969 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 115.3 MB / 0.9637 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.6025, allocations: 181.1 MB / 1.141 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.6028, allocations: 92.97 kB / 1.141 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05944/0.6622, allocations: 28.11 MB / 1.168 GB, free: 27.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.6623, allocations: 11.66 kB / 1.168 GB, free: 27.3 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008054/0.6631, allocations: 0.6855 MB / 1.169 GB, free: 26.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.6631, allocations: 8.281 kB / 1.169 GB, free: 26.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.6654, allocations: 430.3 kB / 1.169 GB, free: 26.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.666, allocations: 471.4 kB / 1.17 GB, free: 26.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.666, allocations: 11.59 kB / 1.17 GB, free: 26.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.6661, allocations: 15.38 kB / 1.17 GB, free: 26.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005908/0.6667, allocations: 495.6 kB / 1.17 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.6673, allocations: 0.5642 MB / 1.171 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.6673, allocations: 0 / 1.171 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.6674, allocations: 0 / 1.171 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.6674, allocations: 23.86 kB / 1.171 GB, free: 25.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.6704, allocations: 2.745 MB / 1.173 GB, free: 40.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.671, allocations: 329.7 kB / 1.174 GB, free: 39.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6711, allocations: 168.1 kB / 1.174 GB, free: 39.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.6712, allocations: 88.88 kB / 1.174 GB, free: 39.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.6713, allocations: 30.56 kB / 1.174 GB, free: 39.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.6713, allocations: 3.875 kB / 1.174 GB, free: 39.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.004186/0.6755, allocations: 1.479 MB / 1.175 GB, free: 39.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6755, allocations: 82.95 kB / 1.176 GB, free: 39.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.6758, allocations: 330.9 kB / 1.176 GB, free: 39.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.6759, allocations: 25.7 kB / 1.176 GB, free: 39.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.676, allocations: 207.3 kB / 1.176 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.676, allocations: 76.38 kB / 1.176 GB, free: 38.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.6761, allocations: 3.938 kB / 1.176 GB, free: 38.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6762, allocations: 346.4 kB / 1.176 GB, free: 38.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.6765, allocations: 250.4 kB / 1.177 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.6769, allocations: 323.5 kB / 1.177 GB, free: 38.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.6773, allocations: 306.7 kB / 1.177 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6774, allocations: 0 / 1.177 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00272/0.6801, allocations: 1.011 MB / 1.178 GB, free: 37.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.6803, allocations: 0.7936 MB / 1.179 GB, free: 37.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6803, allocations: 2.875 kB / 1.179 GB, free: 37.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.6826, allocations: 413.1 kB / 1.179 GB, free: 36.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.6832, allocations: 120.8 kB / 1.18 GB, free: 36.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.6867, allocations: 2.951 MB / 1.182 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.6873, allocations: 74.8 kB / 1.183 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.6874, allocations: 18.33 kB / 1.183 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.6874, allocations: 7.469 kB / 1.183 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007436/0.6882, allocations: 480.1 kB / 1.183 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.6882, allocations: 2.156 kB / 1.183 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/0.6882, allocations: 4.375 kB / 1.183 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.6889, allocations: 139.2 kB / 1.183 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6889, allocations: 6.812 kB / 1.183 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.6894, allocations: 69.08 kB / 1.183 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.6894, allocations: 17.52 kB / 1.183 GB, free: 34.72 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.6896, allocations: 121.7 kB / 1.183 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.6896, allocations: 35.2 kB / 1.183 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.6925, allocations: 1.066 MB / 1.184 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6926, allocations: 6.094 kB / 1.184 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6926, allocations: 5 kB / 1.184 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6926, allocations: 5.156 kB / 1.184 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.6961, allocations: 1.679 MB / 1.186 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6961, allocations: 1.188 kB / 1.186 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.6965, allocations: 79.95 kB / 1.186 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/0.6989, allocations: 0.5428 MB / 1.187 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.699, allocations: 6.812 kB / 1.187 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.7035, allocations: 4.056 MB / 1.191 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.7036, allocations: 0.8125 kB / 1.191 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002686/0.7063, allocations: 1.104 MB / 1.192 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.7065, allocations: 172.3 kB / 1.192 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.7066, allocations: 6.031 kB / 1.192 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.7072, allocations: 76.83 kB / 1.192 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.7073, allocations: 23.17 kB / 1.192 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.7073, allocations: 13.7 kB / 1.192 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002614/0.7076, allocations: 263.2 kB / 1.192 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007478/0.7084, allocations: 196.6 kB / 1.192 GB, free: 29.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002362/0.7086, allocations: 172.7 kB / 1.193 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.7101, allocations: 0.9726 MB / 1.194 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7101, allocations: 0 / 1.194 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/0.7109, allocations: 0.5361 MB / 1.194 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.7114, allocations: 89.03 kB / 1.194 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.7127, allocations: 0.7715 MB / 1.195 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.7133, allocations: 0.9524 MB / 1.196 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.7133, allocations: 0 / 1.196 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.01415/0.7275, allocations: 12.11 MB / 1.208 GB, free: 21.92 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)